Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9155/0.9155, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.766/1.766, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 4 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/3.036e-05, allocations: 3.5 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002218/0.002249, allocations: 1.586 MB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.003014, allocations: 0.4927 MB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.003089, allocations: 1.031 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.003207, allocations: 7.875 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.003255, allocations: 16.44 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.003508, allocations: 40.56 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.00366, allocations: 92.55 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.00377, allocations: 19.97 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.00395, allocations: 52.55 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.00402, allocations: 31.89 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.00404, allocations: 5.656 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.00408, allocations: 8 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.004118, allocations: 19.92 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.004165, allocations: 23.92 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.004307, allocations: 73.31 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.00431, allocations: 3.938 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004311, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.004316, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005242/0.00484, allocations: 471.3 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004877, allocations: 12.03 kB / 0.79 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.005007, allocations: 16.89 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005168, allocations: 132.5 kB / 0.7901 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.00518, allocations: 8.375 kB / 0.7901 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.005193, allocations: 4.375 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.005387, allocations: 124.5 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.005394, allocations: 192 / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005405, allocations: 1.094 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.005414, allocations: 3.938 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.005475, allocations: 50.22 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.005848, allocations: 313 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005954, allocations: 68.75 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.006004, allocations: 66.59 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.006017, allocations: 0 / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.006152, allocations: 114.7 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.006153, allocations: 0.5312 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002536/0.006407, allocations: 191.6 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.006458, allocations: 89.09 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.006551, allocations: 189.6 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.006566, allocations: 29.7 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.006628, allocations: 142.8 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.006647, allocations: 24.88 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.006687, allocations: 27.38 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.006815, allocations: 0.4897 MB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.006875, allocations: 75.39 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.006923, allocations: 79.33 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.007005, allocations: 120.8 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007008, allocations: 4.562 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.00718, allocations: 224.3 kB / 0.7924 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.007214, allocations: 55.94 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007219, allocations: 0.5625 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007231, allocations: 0.8125 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.007316, allocations: 19.98 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.007322, allocations: 5.125 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.007379, allocations: 15.92 kB / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.007388, allocations: 0 / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.007472, allocations: 191.2 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.007491, allocations: 21.47 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.007514, allocations: 12.78 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007516, allocations: 0 / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.00752, allocations: 0 / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.007523, allocations: 0 / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.007774, allocations: 413.6 kB / 0.7931 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.007777, allocations: 3.984 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.007815, allocations: 8.688 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007818, allocations: 0.6562 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.007829, allocations: 7.984 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007831, allocations: 1.031 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007832, allocations: 0 / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.007995, allocations: 307.1 kB / 0.7935 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.008006, allocations: 12.75 kB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.008024, allocations: 4 kB / 0.7935 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.008084, allocations: 12.92 kB / 0.7935 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.008169, allocations: 23.95 kB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.008178, allocations: 5.219 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.008225, allocations: 139.2 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008225, allocations: 0 / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001607/0.008386, allocations: 20.84 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.77e-05/0.008484, allocations: 105.4 kB / 0.7938 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.008683, allocations: 255.5 kB / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.008684, allocations: 0 / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.00876, allocations: 120.8 kB / 0.7941 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.008967, allocations: 11.94 kB / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.009523, allocations: 238.9 kB / 0.7944 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.009561, allocations: 63.34 kB / 0.7944 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.009602, allocations: 9.391 kB / 0.7944 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.009638, allocations: 16.5 kB / 0.7945 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.009639, allocations: 1.125 kB / 0.7945 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of Templates: time 0.003046/0.01268, allocations: 1.431 MB / 0.7959 GB, free: 3.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.888029395136982]