Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.845/1.845, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.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.001123/0.001123, allocations: 191.2 kB / 393.1 MB, free: 4.062 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.57/1.57, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009634, allocations: 92.86 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004733, allocations: 12.5 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.722, allocations: 121.3 MB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002333/0.7244, allocations: 1.727 MB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7255, allocations: 0.7561 MB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.7257, allocations: 5.594 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.7258, allocations: 27.73 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.7259, allocations: 31.45 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.7263, allocations: 139.3 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.7267, allocations: 357 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.727, allocations: 201.4 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.7272, allocations: 106.9 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.7273, allocations: 119 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.7274, allocations: 13.16 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.7275, allocations: 17.72 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.7275, allocations: 60.94 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.7277, allocations: 149.2 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.728, allocations: 357.7 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.728, allocations: 0 / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.728, allocations: 0.625 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7281, allocations: 0.875 kB / 1.045 GB, free: 55.85 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.0007167/0.7288, allocations: 0.5193 MB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7288, allocations: 9.719 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.7289, allocations: 38.41 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.7292, allocations: 269.2 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.7292, allocations: 26.66 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.7293, allocations: 33.16 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.7298, allocations: 318.3 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7298, allocations: 5.469 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.7299, allocations: 8 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7299, allocations: 7.062 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.7303, allocations: 245.9 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.7317, allocations: 0.9584 MB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.7322, allocations: 251 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.7324, allocations: 128.2 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.7324, allocations: 3.672 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.7327, allocations: 153.9 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.7327, allocations: 0 / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0006845/0.7334, allocations: 334.6 kB / 1.048 GB, free: 53.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.7335, allocations: 56.33 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.7337, allocations: 203.5 kB / 1.048 GB, free: 53.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.7337, allocations: 42.28 kB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.7339, allocations: 155.8 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.7339, allocations: 76.12 kB / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.7339, allocations: 13.56 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.734, allocations: 334.4 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.7342, allocations: 93.38 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.7345, allocations: 155 kB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.7348, allocations: 215.7 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.7349, allocations: 5.031 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004984/0.7354, allocations: 314.5 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7354, allocations: 12 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.7354, allocations: 3.938 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7354, allocations: 2.219 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.7356, allocations: 39.98 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7356, allocations: 4.031 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.7358, allocations: 66.48 kB / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.7359, allocations: 14.12 kB / 1.05 GB, free: 52.66 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.000146/0.736, allocations: 175.8 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.7361, allocations: 17.12 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.7366, allocations: 285.1 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.7366, allocations: 5.094 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7366, allocations: 3.5 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7366, allocations: 0.5625 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/0.7376, allocations: 0.7421 MB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7376, allocations: 0 / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.7377, allocations: 27.06 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.7377, allocations: 1.656 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.7378, allocations: 9.062 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7378, allocations: 3.938 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7378, allocations: 7.938 kB / 1.051 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.7383, allocations: 356.7 kB / 1.051 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.7383, allocations: 97.92 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.7384, allocations: 7.781 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.7386, allocations: 41.47 kB / 1.051 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7387, allocations: 43.58 kB / 1.051 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.7387, allocations: 4.906 kB / 1.052 GB, free: 51.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.473e-05/0.7388, allocations: 138.4 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7388, allocations: 0 / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002843/0.7391, allocations: 68.25 kB / 1.052 GB, free: 51.41 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.000164/0.7393, allocations: 130.2 kB / 1.052 GB, free: 51.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.7398, allocations: 259.9 kB / 1.052 GB, free: 51.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7398, allocations: 3.031 kB / 1.052 GB, free: 51.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.74, allocations: 128.5 kB / 1.052 GB, free: 51.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.7404, allocations: 27.94 kB / 1.052 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.7411, allocations: 0.5725 MB / 1.053 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.7414, allocations: 0.7596 MB / 1.054 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.7415, allocations: 37.25 kB / 1.054 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.7416, allocations: 22.75 kB / 1.054 GB, free: 50.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.8e-07/0.7416, allocations: 0 / 1.054 GB, free: 50.07 MB / 0.698 GB Notification: Performance of Templates: time 0.006522/0.7481, allocations: 2.657 MB / 1.056 GB, free: 49.9 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)