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.008554/0.008554, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001882/0.001882, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2922, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003283/0.2956, allocations: 2.036 MB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2969, allocations: 0.7053 MB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2971, allocations: 11.94 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.2972, allocations: 27.61 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2974, allocations: 43.58 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.2978, allocations: 155.8 kB / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.2983, allocations: 399.2 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.2986, allocations: 243.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2988, allocations: 135.5 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.299, allocations: 147.4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.299, allocations: 39.94 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2991, allocations: 48 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.2992, allocations: 79.75 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2994, allocations: 151.2 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.2998, allocations: 430.3 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2998, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2998, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.2998, allocations: 0 / 1.171 GB, free: 2.227 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.0008299/0.3007, allocations: 0.5841 MB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.3007, allocations: 8.031 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.3008, allocations: 36.75 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3012, allocations: 265 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.3012, allocations: 32.92 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.3013, allocations: 28.38 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.3018, allocations: 315.9 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3019, allocations: 0 / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3019, allocations: 16 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3019, allocations: 8 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.3024, allocations: 234.1 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3038, allocations: 0.9326 MB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.3043, allocations: 247.5 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3045, allocations: 121.2 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.3045, allocations: 4.234 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.3048, allocations: 172 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3048, allocations: 3.938 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006646/0.3055, allocations: 321.4 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3055, allocations: 55.41 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3057, allocations: 211.4 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3057, allocations: 37.7 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.3058, allocations: 160.8 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.3059, allocations: 79.38 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.306, allocations: 81.67 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3061, allocations: 334.8 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3063, allocations: 99.91 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3066, allocations: 153 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.3069, allocations: 204.8 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3069, allocations: 4 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005172/0.3075, allocations: 316.7 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3075, allocations: 4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3075, allocations: 4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3075, allocations: 4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.3077, allocations: 39.91 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3077, allocations: 8.156 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3079, allocations: 39.81 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.308, allocations: 19.98 kB / 1.176 GB, free: 12.84 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.0001525/0.3081, allocations: 177.6 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3082, allocations: 27.78 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.3087, allocations: 280.2 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3087, allocations: 4 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3087, allocations: 0 / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3088, allocations: 0 / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3098, allocations: 0.7297 MB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3098, allocations: 0 / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.31, allocations: 31.92 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.31, allocations: 8 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.31, allocations: 0 / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.31, allocations: 0 / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.31, allocations: 4 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.3106, allocations: 356.3 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.3106, allocations: 96.91 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3107, allocations: 15.94 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3109, allocations: 23.97 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.311, allocations: 39.89 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.311, allocations: 19.98 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.362e-05/0.3111, allocations: 131.1 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3111, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003296/0.3115, allocations: 67.84 kB / 1.178 GB, free: 10.75 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.0001583/0.3116, allocations: 125.4 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004892/0.3121, allocations: 248.1 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3121, allocations: 0 / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3124, allocations: 128.4 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3127, allocations: 32.3 kB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.3136, allocations: 478.6 kB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3139, allocations: 0.7564 MB / 1.18 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.3141, allocations: 34.2 kB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.3141, allocations: 31.42 kB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3142, allocations: 4 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of Templates: time 0.006818/0.321, allocations: 3.072 MB / 1.183 GB, free: 5.82 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