Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadModel(Buildings): time 3.89/3.89, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.554e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.581, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.7769, allocations: 126.6 MB / 0.7526 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.7773, allocations: 87.94 kB / 0.7526 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.7943, allocations: 4.514 MB / 0.7571 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.992e-06/0.7943, allocations: 0 / 0.7571 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.7944, allocations: 11.98 kB / 0.7571 GB, free: 12.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008539/0.7952, allocations: 0.4926 MB / 0.7575 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7953, allocations: 12.02 kB / 0.7576 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.7954, allocations: 31.67 kB / 0.7576 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.7958, allocations: 278.5 kB / 0.7579 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.7959, allocations: 12 kB / 0.7579 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.7959, allocations: 19.94 kB / 0.7579 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000567/0.7965, allocations: 201.1 kB / 0.7581 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.7971, allocations: 254.6 kB / 0.7583 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7972, allocations: 7.875 kB / 0.7583 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.7972, allocations: 0 / 0.7583 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.7972, allocations: 11.94 kB / 0.7583 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.7991, allocations: 0.8694 MB / 0.7592 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.7997, allocations: 226.4 kB / 0.7594 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.8, allocations: 97.31 kB / 0.7595 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.8, allocations: 8.172 kB / 0.7595 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.8003, allocations: 139.5 kB / 0.7596 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.899e-06/0.8004, allocations: 0 / 0.7596 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.0005468/0.8009, allocations: 197.5 kB / 0.7598 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.801, allocations: 63.38 kB / 0.7599 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.8012, allocations: 161.7 kB / 0.76 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.8013, allocations: 33.7 kB / 0.7601 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.8014, allocations: 156.9 kB / 0.7602 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.8015, allocations: 67.08 kB / 0.7603 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.8016, allocations: 0 / 0.7603 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8018, allocations: 340.9 kB / 0.7606 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.802, allocations: 76 kB / 0.7607 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.8023, allocations: 129 kB / 0.7608 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.8025, allocations: 79.72 kB / 0.7609 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-06/0.8025, allocations: 0 / 0.7609 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005992/0.8031, allocations: 248.7 kB / 0.7611 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8031, allocations: 8 kB / 0.7611 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.091e-06/0.8032, allocations: 0 / 0.7611 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8032, allocations: 4 kB / 0.7611 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.8035, allocations: 48.06 kB / 0.7612 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.764e-06/0.8035, allocations: 4 kB / 0.7612 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.8038, allocations: 35.81 kB / 0.7612 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.8038, allocations: 19.94 kB / 0.7612 GB, free: 7.797 MB / 0.6355 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.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.804, allocations: 128 kB / 0.7614 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.804, allocations: 19.81 kB / 0.7614 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.8047, allocations: 237.9 kB / 0.7616 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-06/0.8047, allocations: 4 kB / 0.7616 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.618e-06/0.8047, allocations: 4 kB / 0.7616 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.83e-06/0.8047, allocations: 3.984 kB / 0.7616 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.8061, allocations: 0.6322 MB / 0.7622 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.261e-06/0.8061, allocations: 0 / 0.7622 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.8063, allocations: 31.97 kB / 0.7623 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.55e-06/0.8063, allocations: 0 / 0.7623 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.8064, allocations: 7.938 kB / 0.7623 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-06/0.8064, allocations: 0 / 0.7623 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.77e-06/0.8064, allocations: 3.938 kB / 0.7623 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.807, allocations: 319.1 kB / 0.7626 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.8071, allocations: 96.86 kB / 0.7627 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.8071, allocations: 0 / 0.7627 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.8074, allocations: 31.97 kB / 0.7627 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8076, allocations: 43.92 kB / 0.7627 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.8076, allocations: 8 kB / 0.7627 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001281/0.8078, allocations: 123.8 kB / 0.7629 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.8e-07/0.8078, allocations: 0 / 0.7629 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004476/0.8082, allocations: 43.91 kB / 0.7629 GB, free: 5.988 MB / 0.6355 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002039/0.8084, allocations: 118.2 kB / 0.763 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.809, allocations: 211.8 kB / 0.7632 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.496e-06/0.809, allocations: 0 / 0.7632 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.8093, allocations: 111.9 kB / 0.7633 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.8096, allocations: 30.56 kB / 0.7634 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.8104, allocations: 302.2 kB / 0.7636 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.811, allocations: 0.772 MB / 0.7644 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.8112, allocations: 26.06 kB / 0.7644 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.8113, allocations: 23.44 kB / 0.7644 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.55e-06/0.8113, allocations: 0 / 0.7644 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.008212/0.8195, allocations: 2.418 MB / 0.7668 GB, free: 1.953 MB / 0.6355 GB