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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001943/0.001943, allocations: 63.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.929, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002554/0.9315, allocations: 1.554 MB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.9323, allocations: 454.8 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.9323, allocations: 1.25 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.9324, allocations: 5.438 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.9325, allocations: 19.77 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.9326, allocations: 30.77 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.9328, allocations: 92.67 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.9329, allocations: 11.92 kB / 1.274 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.933, allocations: 34.88 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.9331, allocations: 40.86 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.9331, allocations: 6.625 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.9332, allocations: 6.25 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.9332, allocations: 18.95 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.9332, allocations: 40.83 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.9334, allocations: 70.11 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.9334, allocations: 0 / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9334, allocations: 1.125 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9334, allocations: 0 / 1.274 GB, free: 6.344 MB / 0.9981 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.0006126/0.934, allocations: 448.8 kB / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.934, allocations: 8.75 kB / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.9341, allocations: 14.23 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.9342, allocations: 188.7 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.9342, allocations: 3.188 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.9343, allocations: 9.359 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.9345, allocations: 98.3 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9345, allocations: 1 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9346, allocations: 0.9688 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9346, allocations: 0.9688 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.9348, allocations: 76.14 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.9354, allocations: 334.2 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.9356, allocations: 78.39 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.9358, allocations: 54.09 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.9358, allocations: 5.219 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.9361, allocations: 108.5 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9361, allocations: 0 / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006217/0.9367, allocations: 212.5 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9368, allocations: 78.95 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.9369, allocations: 134.8 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.9369, allocations: 28.05 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.9369, allocations: 102.8 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.9369, allocations: 17 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.937, allocations: 26.88 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.937, allocations: 324.7 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.9372, allocations: 49.61 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9374, allocations: 52.23 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.9377, allocations: 168.4 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9377, allocations: 8 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000407/0.9381, allocations: 210.7 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.9381, allocations: 59.72 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.9381, allocations: 0.8438 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9381, allocations: 0 / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.9382, allocations: 21.48 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9382, allocations: 0 / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.9384, allocations: 27.8 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.9384, allocations: 6.719 kB / 1.277 GB, free: 4.031 MB / 0.9981 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 7.489e-05/0.9385, allocations: 148.3 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.9385, allocations: 8.906 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.9385, allocations: 20.38 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9385, allocations: 1.5 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9385, allocations: 0 / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9385, allocations: 0.8125 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.939, allocations: 428.5 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.939, allocations: 0.7188 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.9391, allocations: 16.34 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9391, allocations: 0 / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.9392, allocations: 1.375 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9392, allocations: 4.719 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9392, allocations: 0.9062 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.9395, allocations: 279 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.9396, allocations: 86.7 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.9396, allocations: 1.75 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.9397, allocations: 17.91 kB / 1.278 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.9399, allocations: 22.56 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9399, allocations: 6.906 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.9399, allocations: 101.2 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9399, allocations: 0.9062 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000248/0.9402, allocations: 16.12 kB / 1.278 GB, free: 3.086 MB / 0.9981 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 0.0001026/0.9403, allocations: 100.8 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.9407, allocations: 225 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9407, allocations: 4.844 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.9409, allocations: 103.8 kB / 1.279 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.9412, allocations: 12.31 kB / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.9417, allocations: 232 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.9418, allocations: 0.6948 MB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.9419, allocations: 9.375 kB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.9419, allocations: 15.06 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9419, allocations: 0.6875 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of Templates: time 0.004582/0.9465, allocations: 1.337 MB / 1.281 GB, free: 1.777 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.031638888642192]