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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001116/0.001116, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001095/0.001095, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.59 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2658, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003268/0.2691, allocations: 2.033 MB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2703, allocations: 0.7169 MB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2704, allocations: 11.94 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2706, allocations: 27.61 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.2707, allocations: 43.59 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.2711, allocations: 159.8 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.2715, allocations: 395.2 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.2718, allocations: 239.7 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.272, allocations: 131.5 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2721, allocations: 159.2 kB / 1.023 GB, free: 5.918 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.2722, allocations: 40 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.2723, allocations: 47.98 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.2724, allocations: 79.77 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2725, allocations: 155.3 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2729, allocations: 418.6 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2729, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2729, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.273, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 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.0008752/0.2738, allocations: 0.569 MB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2739, allocations: 8.922 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.274, allocations: 32.56 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.2743, allocations: 276.8 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2743, allocations: 24.94 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.2744, allocations: 32.38 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.2749, allocations: 319.9 kB / 1.025 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.275, allocations: 0 / 1.025 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.275, allocations: 12 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.275, allocations: 8 kB / 1.025 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.2755, allocations: 234.1 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2768, allocations: 0.9284 MB / 1.026 GB, free: 2.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.2773, allocations: 249.3 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2775, allocations: 117.2 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2776, allocations: 4.234 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.2779, allocations: 163.5 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.043e-06/0.2779, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0006851/0.2786, allocations: 325.3 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2786, allocations: 67.39 kB / 1.027 GB, free: 1.664 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.2788, allocations: 203.9 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2788, allocations: 37.7 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.2789, allocations: 148.6 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.279, allocations: 82.94 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2791, allocations: 81.67 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2792, allocations: 334.8 kB / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2794, allocations: 95.95 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.2797, allocations: 156.9 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.28, allocations: 214.1 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.28, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005392/0.2806, allocations: 313 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2806, allocations: 8 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2806, allocations: 3.938 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2806, allocations: 11.92 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2808, allocations: 31.92 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2809, allocations: 4 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2811, allocations: 47.7 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2811, allocations: 15.94 kB / 1.028 GB, free: 15.84 MB / 0.8106 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.0001679/0.2813, allocations: 181.8 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.2813, allocations: 19.72 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.2819, allocations: 272.2 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2819, allocations: 4 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2819, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2819, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2829, allocations: 0.7387 MB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.283, allocations: 0 / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2831, allocations: 27.92 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2831, allocations: 4 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2831, allocations: 4 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2832, allocations: 7.984 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2832, allocations: 0 / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.2836, allocations: 360.8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2837, allocations: 100.8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.2838, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2839, allocations: 23.97 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.284, allocations: 39.89 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2841, allocations: 19.98 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001003/0.2842, allocations: 127.2 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2842, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000317/0.2845, allocations: 71.83 kB / 1.03 GB, free: 13.75 MB / 0.8106 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.0001658/0.2847, allocations: 117.4 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.2852, allocations: 255.9 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2852, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.2855, allocations: 127.9 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2859, allocations: 35.91 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.2868, allocations: 476.3 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2872, allocations: 0.7604 MB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.2873, allocations: 34.22 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.2874, allocations: 27.42 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2874, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.006545/0.2939, allocations: 3.032 MB / 1.035 GB, free: 8.875 MB / 0.8106 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 -s gbode -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