Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 186 kB / 382.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.000942, allocations: 99.28 kB / 0.7789 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 8 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6273, allocations: 119.2 MB / 1.022 GB, free: 58.53 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002328/0.6297, allocations: 1.73 MB / 1.024 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.6309, allocations: 0.7509 MB / 1.025 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.631, allocations: 5.188 kB / 1.025 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.6311, allocations: 28.28 kB / 1.025 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.6313, allocations: 28.19 kB / 1.025 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.6316, allocations: 143.2 kB / 1.025 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.632, allocations: 360.4 kB / 1.025 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.6324, allocations: 204.5 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.6326, allocations: 107 kB / 1.026 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.6328, allocations: 115.3 kB / 1.026 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.6328, allocations: 12.62 kB / 1.026 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.6329, allocations: 22.23 kB / 1.026 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.633, allocations: 58.64 kB / 1.026 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.6331, allocations: 148.3 kB / 1.026 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.6334, allocations: 362.6 kB / 1.026 GB, free: 56.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6334, allocations: 0 / 1.026 GB, free: 56.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6335, allocations: 0 / 1.026 GB, free: 56.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.6335, allocations: 3.938 kB / 1.026 GB, free: 56.46 MB / 0.698 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.0006885/0.6342, allocations: 0.5089 MB / 1.027 GB, free: 56.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6342, allocations: 10.06 kB / 1.027 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.6343, allocations: 33.03 kB / 1.027 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.6345, allocations: 280.6 kB / 1.027 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.6346, allocations: 24.75 kB / 1.027 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.6346, allocations: 32.69 kB / 1.027 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.6352, allocations: 316.5 kB / 1.027 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6352, allocations: 2.969 kB / 1.027 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.6353, allocations: 11.84 kB / 1.027 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6353, allocations: 6.281 kB / 1.027 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.6357, allocations: 243.4 kB / 1.028 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.637, allocations: 0.9526 MB / 1.029 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.6375, allocations: 249.6 kB / 1.029 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.6377, allocations: 124.3 kB / 1.029 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.6377, allocations: 4.172 kB / 1.029 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.638, allocations: 170.5 kB / 1.029 GB, free: 54.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.638, allocations: 0 / 1.029 GB, free: 54.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0006253/0.6387, allocations: 336.1 kB / 1.029 GB, free: 54.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.6387, allocations: 56.59 kB / 1.029 GB, free: 54.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.6389, allocations: 211.5 kB / 1.03 GB, free: 54.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.6389, allocations: 42.92 kB / 1.03 GB, free: 54.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.639, allocations: 153.9 kB / 1.03 GB, free: 54.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.639, allocations: 72.44 kB / 1.03 GB, free: 54.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.6391, allocations: 8.969 kB / 1.03 GB, free: 54.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.6391, allocations: 332.9 kB / 1.03 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.6393, allocations: 96.23 kB / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6395, allocations: 152.1 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.6399, allocations: 220 kB / 1.031 GB, free: 53.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6399, allocations: 3.938 kB / 1.031 GB, free: 53.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004717/0.6404, allocations: 314.3 kB / 1.031 GB, free: 53.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.6404, allocations: 8.812 kB / 1.031 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6404, allocations: 3.938 kB / 1.031 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6404, allocations: 4.969 kB / 1.031 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.6406, allocations: 38.94 kB / 1.031 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.6406, allocations: 2.438 kB / 1.031 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.6408, allocations: 64.48 kB / 1.031 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.6409, allocations: 11.28 kB / 1.031 GB, free: 53.29 MB / 0.698 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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.0001357/0.641, allocations: 176.7 kB / 1.031 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.6411, allocations: 21.53 kB / 1.031 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.6415, allocations: 289.4 kB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6416, allocations: 6.562 kB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6416, allocations: 5.188 kB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6416, allocations: 0 / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.6425, allocations: 0.7381 MB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6425, allocations: 0 / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.6426, allocations: 28.41 kB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6426, allocations: 11.78 kB / 1.032 GB, free: 52.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6427, allocations: 5.812 kB / 1.032 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6427, allocations: 2.062 kB / 1.032 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6427, allocations: 6.812 kB / 1.032 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.6431, allocations: 360.1 kB / 1.033 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.6432, allocations: 99.55 kB / 1.033 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6432, allocations: 9.312 kB / 1.033 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.6434, allocations: 32.11 kB / 1.033 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6435, allocations: 43 kB / 1.033 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.6435, allocations: 12.08 kB / 1.033 GB, free: 52.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.6436, allocations: 129.1 kB / 1.033 GB, free: 52.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6436, allocations: 0 / 1.033 GB, free: 52.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003071/0.644, allocations: 70.86 kB / 1.033 GB, free: 52.04 MB / 0.698 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0001613/0.6441, allocations: 129.3 kB / 1.033 GB, free: 51.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.6446, allocations: 258.6 kB / 1.033 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6446, allocations: 0 / 1.033 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6448, allocations: 134.6 kB / 1.034 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.6452, allocations: 37.42 kB / 1.034 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.6459, allocations: 0.5671 MB / 1.034 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.6461, allocations: 0.7574 MB / 1.035 GB, free: 50.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.6462, allocations: 30.72 kB / 1.035 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.6463, allocations: 27.7 kB / 1.035 GB, free: 50.71 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6463, allocations: 0 / 1.035 GB, free: 50.71 MB / 0.698 GB Notification: Performance of Templates: time 0.005498/0.6518, allocations: 2.66 MB / 1.038 GB, free: 50.55 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)