Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001415/0.001415, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.00136/0.00136, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.077, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00401/1.082, allocations: 2.039 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001651/1.083, allocations: 0.7013 MB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/1.084, allocations: 4 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/1.084, allocations: 39.55 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/1.084, allocations: 43.58 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/1.085, allocations: 159.7 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/1.085, allocations: 395.3 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006167/1.086, allocations: 239.6 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/1.086, allocations: 135.6 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004234/1.087, allocations: 143.4 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/1.087, allocations: 44 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/1.087, allocations: 55.92 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/1.087, allocations: 75.77 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/1.088, allocations: 159.2 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006266/1.088, allocations: 418.4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.088, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.885e-06/1.088, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.088, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 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.001394/1.09, allocations: 0.567 MB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/1.09, allocations: 12.56 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/1.09, allocations: 32.56 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/1.091, allocations: 275.7 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/1.091, allocations: 24.94 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/1.091, allocations: 32.36 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/1.092, allocations: 319.9 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.092, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/1.092, allocations: 15.98 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/1.092, allocations: 7.938 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/1.092, allocations: 234.1 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/1.094, allocations: 0.9285 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/1.095, allocations: 238.9 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/1.095, allocations: 129.2 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/1.095, allocations: 8.234 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/1.095, allocations: 163.4 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.395e-06/1.095, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0007659/1.096, allocations: 322.1 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/1.096, allocations: 59.41 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.096, allocations: 204.2 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/1.096, allocations: 41.7 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.097, allocations: 156.6 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/1.097, allocations: 78.98 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.097, allocations: 81.59 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.097, allocations: 330.8 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.097, allocations: 99.91 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.097, allocations: 161 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/1.098, allocations: 214.4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.098, allocations: 0 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005524/1.098, allocations: 312.6 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.098, allocations: 4 kB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.098, allocations: 4.156 kB / 1.177 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.098, allocations: 4 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/1.099, allocations: 39.91 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.099, allocations: 4 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/1.099, allocations: 43.75 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.099, allocations: 8 kB / 1.177 GB, free: 9.852 MB / 0.9044 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.0002364/1.099, allocations: 187.8 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/1.099, allocations: 23.72 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/1.1, allocations: 276.2 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.1, allocations: 4 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.1, allocations: 0 / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.1, allocations: 3.984 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.101, allocations: 0.727 MB / 1.178 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.101, allocations: 0 / 1.178 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/1.101, allocations: 31.86 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.101, allocations: 0 / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.101, allocations: 11.98 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.101, allocations: 0 / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.101, allocations: 0 / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/1.102, allocations: 364.7 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/1.102, allocations: 100.8 kB / 1.178 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.102, allocations: 15.98 kB / 1.178 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/1.102, allocations: 23.97 kB / 1.178 GB, free: 8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.102, allocations: 39.89 kB / 1.178 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.102, allocations: 8 kB / 1.178 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001201/1.102, allocations: 139.1 kB / 1.179 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.102, allocations: 4 kB / 1.179 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003374/1.103, allocations: 63.75 kB / 1.179 GB, free: 7.75 MB / 0.9044 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.0002377/1.103, allocations: 121.4 kB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005535/1.103, allocations: 252.1 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.103, allocations: 4.312 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/1.104, allocations: 123.9 kB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/1.104, allocations: 27.98 kB / 1.179 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/1.105, allocations: 0.4933 MB / 1.18 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/1.106, allocations: 0.7564 MB / 1.18 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/1.106, allocations: 31.42 kB / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.106, allocations: 0 / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of Templates: time 0.006573/1.112, allocations: 3.406 MB / 1.184 GB, free: 2.484 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches