Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00124/0.00124, allocations: 104.9 kB / 16.45 MB, free: 6.445 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.001261/0.001261, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 1.134 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8641, allocations: 173.9 MB / 1.304 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003144/0.8672, allocations: 1.524 MB / 1.305 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.8681, allocations: 456 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.8682, allocations: 1.125 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.8683, allocations: 9.375 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.8684, allocations: 19.84 kB / 1.306 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.8686, allocations: 37.97 kB / 1.306 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.8688, allocations: 79.66 kB / 1.306 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8689, allocations: 14.23 kB / 1.306 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.869, allocations: 49.44 kB / 1.306 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.8691, allocations: 35.98 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.8692, allocations: 5.875 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.8692, allocations: 6.219 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.8692, allocations: 11.38 kB / 1.306 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.8693, allocations: 38.92 kB / 1.306 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.8695, allocations: 74.83 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8695, allocations: 0 / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8695, allocations: 0 / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8695, allocations: 1.062 kB / 1.306 GB, free: 14.11 MB / 1.014 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.0007861/0.8703, allocations: 447.4 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.8703, allocations: 9.469 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.8703, allocations: 38.78 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.8704, allocations: 13.81 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.8706, allocations: 193.2 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.8706, allocations: 3.078 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.8706, allocations: 8.75 kB / 1.307 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.8709, allocations: 94.33 kB / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.871, allocations: 0 / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.871, allocations: 1.75 kB / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.871, allocations: 1.219 kB / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.8713, allocations: 78.59 kB / 1.307 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.8719, allocations: 338.5 kB / 1.307 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.8722, allocations: 83.8 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.8724, allocations: 56.75 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.8724, allocations: 0.9688 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.8727, allocations: 97.02 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8727, allocations: 1.25 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006401/0.8733, allocations: 219.6 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.8734, allocations: 83.78 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.8735, allocations: 134.4 kB / 1.308 GB, free: 12.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.8736, allocations: 31.05 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.8736, allocations: 97.3 kB / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.8737, allocations: 17.02 kB / 1.308 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.8737, allocations: 29.5 kB / 1.308 GB, free: 12.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8739, allocations: 324.4 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.8741, allocations: 48.44 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.8742, allocations: 47.58 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.8745, allocations: 168.4 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8745, allocations: 5.766 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004468/0.875, allocations: 209.5 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.875, allocations: 61.61 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.875, allocations: 1.688 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8751, allocations: 0 / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8752, allocations: 19.55 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8752, allocations: 5.641 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.8753, allocations: 30.44 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.8753, allocations: 3.625 kB / 1.309 GB, free: 11.75 MB / 1.014 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 0.0001312/0.8755, allocations: 144.6 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.8755, allocations: 8.953 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.8755, allocations: 11.8 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8755, allocations: 1.062 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8755, allocations: 0.9844 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8755, allocations: 5.156 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.8762, allocations: 437 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8762, allocations: 4.641 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.8763, allocations: 13.94 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8763, allocations: 3.984 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.8763, allocations: 2.797 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8763, allocations: 4.5 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8763, allocations: 1.156 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.8767, allocations: 264.4 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.8768, allocations: 87.7 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.8768, allocations: 2.312 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.877, allocations: 17.7 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.8771, allocations: 27.98 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.8771, allocations: 11.61 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.8772, allocations: 96.58 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8772, allocations: 1.156 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002482/0.8774, allocations: 24.62 kB / 1.31 GB, free: 10.8 MB / 1.014 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.0008061/0.8782, allocations: 0.8019 MB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.8787, allocations: 216.6 kB / 1.311 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8787, allocations: 0 / 1.311 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.8789, allocations: 108.2 kB / 1.311 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.8792, allocations: 20.06 kB / 1.311 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.8816, allocations: 1.71 MB / 1.313 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.882, allocations: 0.6946 MB / 1.314 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.451e-05/0.882, allocations: 10.48 kB / 1.314 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.8821, allocations: 21.91 kB / 1.314 GB, free: 7.75 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/0.8821, allocations: 0 / 1.314 GB, free: 7.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.9071, allocations: 2.558 MB / 1.316 GB, free: 6.703 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.17, allocations: 11.36 kB / 1.316 GB, free: 6.695 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.220856816042215]