Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005797/0.005798, allocations: 102.8 kB / 15.74 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 194.2 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 472.6 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003756/1.085, allocations: 2.048 MB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001499/1.087, allocations: 0.7013 MB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/1.087, allocations: 4 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/1.087, allocations: 39.55 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/1.087, allocations: 43.59 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/1.088, allocations: 155.8 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/1.088, allocations: 391.2 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/1.088, allocations: 251.6 kB / 1.229 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/1.089, allocations: 139.5 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/1.089, allocations: 139.4 kB / 1.229 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/1.089, allocations: 40 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/1.089, allocations: 47.98 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.251e-05/1.089, allocations: 79.77 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/1.089, allocations: 155.2 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/1.09, allocations: 422.9 kB / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.09, allocations: 0 / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/1.09, allocations: 0 / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.09, allocations: 7.938 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009639/1.091, allocations: 0.5764 MB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.091, allocations: 12.02 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/1.091, allocations: 32.75 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/1.092, allocations: 279.8 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/1.092, allocations: 28.94 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/1.092, allocations: 32.38 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/1.092, allocations: 319.9 kB / 1.231 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.092, allocations: 0 / 1.231 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.092, allocations: 15.98 kB / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.092, allocations: 8 kB / 1.231 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/1.093, allocations: 230.1 kB / 1.232 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/1.095, allocations: 0.9365 MB / 1.233 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/1.095, allocations: 239.6 kB / 1.233 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/1.095, allocations: 121.2 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/1.095, allocations: 4.234 kB / 1.233 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/1.096, allocations: 155.5 kB / 1.233 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/1.096, allocations: 7.938 kB / 1.233 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0007937/1.096, allocations: 326.2 kB / 1.233 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.097, allocations: 55.41 kB / 1.233 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.097, allocations: 207.2 kB / 1.234 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/1.097, allocations: 37.7 kB / 1.234 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.097, allocations: 152.8 kB / 1.234 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/1.097, allocations: 83.36 kB / 1.234 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.097, allocations: 81.69 kB / 1.234 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.097, allocations: 334.8 kB / 1.234 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.098, allocations: 95.95 kB / 1.234 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/1.098, allocations: 153 kB / 1.234 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/1.098, allocations: 210.4 kB / 1.235 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.098, allocations: 4 kB / 1.235 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005601/1.099, allocations: 320.7 kB / 1.235 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.099, allocations: 4 kB / 1.235 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.099, allocations: 4 kB / 1.235 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.099, allocations: 4 kB / 1.235 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/1.099, allocations: 39.91 kB / 1.235 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.099, allocations: 4 kB / 1.235 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.099, allocations: 47.84 kB / 1.235 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.099, allocations: 20 kB / 1.235 GB, free: 3.441 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002147/1.1, allocations: 179.5 kB / 1.235 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/1.1, allocations: 23.86 kB / 1.235 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/1.1, allocations: 272.2 kB / 1.236 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.1, allocations: 4 kB / 1.236 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.1, allocations: 7.938 kB / 1.236 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.1, allocations: 3.984 kB / 1.236 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/1.101, allocations: 0.7217 MB / 1.236 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.101, allocations: 0 / 1.236 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/1.102, allocations: 31.92 kB / 1.236 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.102, allocations: 4 kB / 1.236 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/1.102, allocations: 7.984 kB / 1.236 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.102, allocations: 4 kB / 1.236 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.102, allocations: 0 / 1.236 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/1.102, allocations: 360.9 kB / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/1.102, allocations: 96.91 kB / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/1.102, allocations: 15.98 kB / 1.237 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.103, allocations: 27.91 kB / 1.237 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.103, allocations: 47.89 kB / 1.237 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.103, allocations: 8 kB / 1.237 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001148/1.103, allocations: 138.1 kB / 1.237 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.103, allocations: 0 / 1.237 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003168/1.103, allocations: 67.83 kB / 1.237 GB, free: 1.344 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001978/1.103, allocations: 121.4 kB / 1.237 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005481/1.104, allocations: 255.9 kB / 1.237 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.104, allocations: 0 / 1.237 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/1.104, allocations: 127.8 kB / 1.238 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/1.105, allocations: 33.23 kB / 1.238 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/1.105, allocations: 474.5 kB / 1.238 GB, free: 328 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.106, allocations: 0.7563 MB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001114/1.106, allocations: 34.22 kB / 1.239 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/1.106, allocations: 31.42 kB / 1.239 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/1.106, allocations: 0 / 1.239 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of Templates: time 0.007143/1.113, allocations: 3.077 MB / 1.242 GB, free: 12.42 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches