Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005452/0.005452, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001209/0.001209, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.19 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003381/0.275, allocations: 2.037 MB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2764, allocations: 0.6974 MB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.2766, allocations: 4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2768, allocations: 39.59 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.277, allocations: 39.59 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2775, allocations: 159.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.278, allocations: 399.1 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.2784, allocations: 247.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2786, allocations: 139.5 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2788, allocations: 143.4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.2789, allocations: 40 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.279, allocations: 47.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.303e-05/0.2791, allocations: 75.81 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2793, allocations: 151.3 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.2798, allocations: 434.2 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2798, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2798, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.2798, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 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.0009548/0.2808, allocations: 0.5687 MB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2808, allocations: 8.031 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.2809, allocations: 32.75 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.2813, allocations: 292.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.2814, allocations: 24.94 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.2814, allocations: 32.38 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.282, allocations: 312 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2821, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2821, allocations: 12 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2821, allocations: 4 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2826, allocations: 242.1 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.2841, allocations: 0.9287 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.2847, allocations: 241.5 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.285, allocations: 125.2 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.285, allocations: 12.17 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.2853, allocations: 168 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/0.2854, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007448/0.2861, allocations: 321.4 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2862, allocations: 67.33 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2863, allocations: 198.3 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.2864, allocations: 41.7 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.2865, allocations: 160.8 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.2866, allocations: 87.31 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2867, allocations: 77.69 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2868, allocations: 330.8 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.287, allocations: 91.95 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.2873, allocations: 156.8 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.2877, allocations: 212.8 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2877, allocations: 0 / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005511/0.2882, allocations: 308.8 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2883, allocations: 4 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2883, allocations: 7.984 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2883, allocations: 0 / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2885, allocations: 47.78 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2885, allocations: 8.156 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.2888, allocations: 47.8 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.2888, allocations: 8 kB / 1.097 GB, free: 7.453 MB / 0.8575 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.0001744/0.289, allocations: 177.6 kB / 1.098 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.289, allocations: 23.86 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.2896, allocations: 288.7 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2896, allocations: 4 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2896, allocations: 0 / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2897, allocations: 0 / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.2907, allocations: 0.7294 MB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2907, allocations: 0 / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2909, allocations: 27.98 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2909, allocations: 0 / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2909, allocations: 11.98 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2909, allocations: 0 / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2909, allocations: 3.938 kB / 1.099 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.2914, allocations: 352.9 kB / 1.099 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.2915, allocations: 100.9 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.2915, allocations: 12 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.2918, allocations: 31.94 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2919, allocations: 35.91 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2919, allocations: 11.98 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001019/0.292, allocations: 141.4 kB / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.292, allocations: 0 / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003387/0.2924, allocations: 63.88 kB / 1.099 GB, free: 5.359 MB / 0.8575 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.0001773/0.2925, allocations: 121.7 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.2931, allocations: 259.8 kB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2931, allocations: 4 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.2933, allocations: 123.8 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2937, allocations: 36.3 kB / 1.1 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.2945, allocations: 474 kB / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2949, allocations: 0.7603 MB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.295, allocations: 30.28 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.2951, allocations: 31.42 kB / 1.101 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2951, allocations: 3.938 kB / 1.101 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.006613/0.3017, allocations: 3.076 MB / 1.104 GB, free: 432 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches