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.001331/0.001331, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 188 kB / 16.66 MB, free: 6.582 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.687/2.687, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3047, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003186/0.308, allocations: 2.046 MB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3094, allocations: 0.7091 MB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3096, allocations: 4 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.3098, allocations: 39.55 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3099, allocations: 43.58 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.3104, allocations: 151.8 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.311, allocations: 403.2 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.3114, allocations: 238 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.3117, allocations: 139.5 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3119, allocations: 139.4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.312, allocations: 40 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3121, allocations: 48 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3122, allocations: 91.67 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3124, allocations: 147.3 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.3128, allocations: 422.4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3128, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3129, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3129, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 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.0008592/0.3137, allocations: 0.5803 MB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3138, allocations: 16.03 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.3139, allocations: 32.75 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.3142, allocations: 268.9 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.3142, allocations: 24.94 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.3143, allocations: 36.36 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.3149, allocations: 319.9 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3149, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.315, allocations: 12 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.315, allocations: 8 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.3155, allocations: 230.1 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3171, allocations: 0.9365 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.3176, allocations: 251.5 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3178, allocations: 121.2 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3179, allocations: 4.234 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.3182, allocations: 160 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 3.847e-06/0.3182, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006877/0.3189, allocations: 333.3 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3189, allocations: 59.34 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3191, allocations: 211.4 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.3192, allocations: 41.69 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3193, allocations: 156.8 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.3194, allocations: 75.38 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3195, allocations: 81.67 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3196, allocations: 338.8 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.3198, allocations: 95.91 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3201, allocations: 153 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.3205, allocations: 220.7 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3205, allocations: 0 / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005299/0.321, allocations: 304.7 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3211, allocations: 8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3211, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3211, allocations: 8.156 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3213, allocations: 43.91 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3213, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.3215, allocations: 43.81 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3216, allocations: 15.98 kB / 1.176 GB, free: 12.8 MB / 0.9356 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.0001929/0.3218, allocations: 177.6 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3218, allocations: 27.86 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.3224, allocations: 280.1 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3224, allocations: 4 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3224, allocations: 0 / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.3224, allocations: 0 / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3234, allocations: 0.7297 MB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3234, allocations: 0 / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3236, allocations: 35.91 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3236, allocations: 0 / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3236, allocations: 8 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3237, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3237, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.3242, allocations: 352.4 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3242, allocations: 104.9 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3243, allocations: 8 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3245, allocations: 31.91 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.3246, allocations: 35.89 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3246, allocations: 15.92 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.323e-05/0.3247, allocations: 131.1 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3247, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003189/0.325, allocations: 67.84 kB / 1.178 GB, free: 10.71 MB / 0.9356 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.000148/0.3252, allocations: 121.5 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.3257, allocations: 248 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3257, allocations: 0 / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.326, allocations: 136.7 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3263, allocations: 33.69 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.3271, allocations: 470.7 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3275, allocations: 0.7603 MB / 1.18 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.3276, allocations: 34.27 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.3277, allocations: 31.42 kB / 1.18 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.3277, allocations: 0 / 1.18 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.006533/0.3342, allocations: 3.073 MB / 1.183 GB, free: 5.785 MB / 0.9356 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/jenkins/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