Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 156.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.692/2.692, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 67.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.005159/0.3176, allocations: 2.013 MB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3198, allocations: 0.7365 MB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.32, allocations: 7.938 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3202, allocations: 39.59 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.3204, allocations: 47.53 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.3211, allocations: 183.7 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.3219, allocations: 407.1 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.3223, allocations: 216.4 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.3227, allocations: 135.6 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.323, allocations: 139.2 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.525e-05/0.3231, allocations: 36 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3232, allocations: 48 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3234, allocations: 83.8 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3236, allocations: 119.4 kB / 1.122 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.3243, allocations: 430.1 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3243, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3243, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.3243, allocations: 4 kB / 1.122 GB, free: 13.91 MB / 1.076 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.001238/0.3256, allocations: 0.5129 MB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3256, allocations: 8.031 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.3262, allocations: 60.7 kB / 1.123 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.3268, allocations: 218 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.3268, allocations: 21.03 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.3269, allocations: 40.36 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.3277, allocations: 313.4 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3277, allocations: 0 / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.3278, allocations: 12 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3278, allocations: 4 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.3285, allocations: 238.4 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3303, allocations: 0.7624 MB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3309, allocations: 223.6 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.3312, allocations: 101.2 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3312, allocations: 8.234 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.3316, allocations: 164.2 kB / 1.125 GB, free: 11.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 4.659e-06/0.3316, allocations: 4 kB / 1.125 GB, free: 11.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0008971/0.3325, allocations: 321.4 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.3325, allocations: 59.41 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3328, allocations: 203.1 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.3328, allocations: 37.7 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.333, allocations: 156.8 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.333, allocations: 87.36 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.3332, allocations: 73.69 kB / 1.125 GB, free: 10.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3334, allocations: 334.8 kB / 1.126 GB, free: 9.812 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3336, allocations: 99.91 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.3339, allocations: 145.1 kB / 1.126 GB, free: 9.555 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.3344, allocations: 214.3 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3344, allocations: 0 / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007044/0.3351, allocations: 312.8 kB / 1.126 GB, free: 9.016 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3352, allocations: 4 kB / 1.126 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3352, allocations: 0 / 1.126 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3352, allocations: 4 kB / 1.126 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3354, allocations: 43.84 kB / 1.127 GB, free: 8.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3354, allocations: 4 kB / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3357, allocations: 51.91 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3358, allocations: 8 kB / 1.127 GB, free: 8.902 MB / 1.076 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.0002152/0.336, allocations: 169.8 kB / 1.127 GB, free: 8.727 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.336, allocations: 27.8 kB / 1.127 GB, free: 8.699 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.3361, allocations: 30.64 kB / 1.127 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3361, allocations: 0 / 1.127 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3361, allocations: 0 / 1.127 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3361, allocations: 4 kB / 1.127 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000992/0.3371, allocations: 0.5998 MB / 1.127 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3371, allocations: 4 kB / 1.127 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3372, allocations: 31.92 kB / 1.127 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3373, allocations: 7.938 kB / 1.127 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3373, allocations: 7.984 kB / 1.127 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3373, allocations: 4 kB / 1.127 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3373, allocations: 0 / 1.127 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.3378, allocations: 349.6 kB / 1.128 GB, free: 7.613 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.3378, allocations: 27.78 kB / 1.128 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3379, allocations: 4 kB / 1.128 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3381, allocations: 23.97 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3382, allocations: 39.94 kB / 1.128 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3382, allocations: 11.94 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3383, allocations: 133.1 kB / 1.128 GB, free: 7.379 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3383, allocations: 0 / 1.128 GB, free: 7.379 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003265/0.3387, allocations: 63.84 kB / 1.128 GB, free: 7.316 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$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 (30): * Single equations (assignments): 26 * 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.0001264/0.3388, allocations: 121.2 kB / 1.128 GB, free: 7.191 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3393, allocations: 227.8 kB / 1.128 GB, free: 6.969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3393, allocations: 0 / 1.128 GB, free: 6.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.3396, allocations: 115.8 kB / 1.129 GB, free: 6.855 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3399, allocations: 36.22 kB / 1.129 GB, free: 6.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.3408, allocations: 470.4 kB / 1.129 GB, free: 6.336 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3409, allocations: 158.9 kB / 1.129 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.341, allocations: 18.3 kB / 1.129 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.3411, allocations: 32.48 kB / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.3411, allocations: 0 / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of Templates: time 0.007075/0.3482, allocations: 2.876 MB / 1.132 GB, free: 3.293 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.378577015013434]