Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001244/0.001244, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8039/0.8039, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 62.81 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1423, allocations: 78.87 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00254/0.1449, allocations: 1.461 MB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.1456, allocations: 458.8 kB / 0.6524 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.1457, allocations: 0 / 0.6524 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1457, allocations: 3.938 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.1458, allocations: 7.938 kB / 0.6524 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1459, allocations: 27.91 kB / 0.6524 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.146, allocations: 51.91 kB / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.1461, allocations: 11.98 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.1462, allocations: 23.86 kB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.1463, allocations: 19.92 kB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1463, allocations: 4 kB / 0.6525 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.1463, allocations: 4 kB / 0.6525 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.1463, allocations: 15.92 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1464, allocations: 31.91 kB / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.1465, allocations: 40.05 kB / 0.6526 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1465, allocations: 4 kB / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1465, allocations: 0 / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1465, allocations: 0 / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005374/0.1471, allocations: 355.4 kB / 0.653 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1471, allocations: 12.62 kB / 0.653 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1471, allocations: 34.75 kB / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1472, allocations: 12.89 kB / 0.653 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1473, allocations: 172.2 kB / 0.6532 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1474, allocations: 8.375 kB / 0.6532 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1474, allocations: 4.375 kB / 0.6532 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1475, allocations: 57.8 kB / 0.6533 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1475, allocations: 0 / 0.6533 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1475, allocations: 4 kB / 0.6533 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1475, allocations: 0 / 0.6533 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.1476, allocations: 27.92 kB / 0.6533 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.1481, allocations: 300.8 kB / 0.6536 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1482, allocations: 50.56 kB / 0.6536 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.1483, allocations: 33.02 kB / 0.6537 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1483, allocations: 3.938 kB / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1484, allocations: 87.31 kB / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1485, allocations: 0 / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.1487, allocations: 101.6 kB / 0.6538 GB, free: 20 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1487, allocations: 51.41 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.1488, allocations: 105.8 kB / 0.654 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1489, allocations: 29.7 kB / 0.654 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.1489, allocations: 96.02 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.149, allocations: 15.84 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.149, allocations: 37.7 kB / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1492, allocations: 318.8 kB / 0.6545 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.1492, allocations: 15.98 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.1493, allocations: 55.3 kB / 0.6545 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1494, allocations: 63.38 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1494, allocations: 4 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001466/0.1496, allocations: 93.56 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1496, allocations: 4 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1496, allocations: 4 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1496, allocations: 0 / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.1497, allocations: 8 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1497, allocations: 0 / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.1498, allocations: 23.88 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1498, allocations: 3.938 kB / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.925e-05/0.1499, allocations: 121.9 kB / 0.6548 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.1499, allocations: 0 / 0.6548 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.15, allocations: 11.95 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.15, allocations: 4 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.15, allocations: 0 / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.15, allocations: 0 / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.1505, allocations: 358.8 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1505, allocations: 96 / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.1505, allocations: 12.22 kB / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1505, allocations: 0 / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1505, allocations: 8 kB / 0.6552 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1505, allocations: 7.875 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.1506, allocations: 3.984 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1507, allocations: 183.5 kB / 0.6554 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.1508, allocations: 85.06 kB / 0.6555 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1508, allocations: 11.92 kB / 0.6555 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1509, allocations: 11.94 kB / 0.6555 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.151, allocations: 7.984 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.151, allocations: 4 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.151, allocations: 79.28 kB / 0.6556 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.151, allocations: 0 / 0.6556 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002325/0.1513, allocations: 19.98 kB / 0.6556 GB, free: 14.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004912/0.1518, allocations: 0.7124 MB / 0.6563 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1519, allocations: 51.92 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1519, allocations: 4 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.152, allocations: 27.92 kB / 0.6564 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1522, allocations: 16.25 kB / 0.6564 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1535, allocations: 1.359 MB / 0.6577 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1539, allocations: 0.6885 MB / 0.6584 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.1539, allocations: 7.938 kB / 0.6584 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.154, allocations: 15.44 kB / 0.6584 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.154, allocations: 0 / 0.6584 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.1765, allocations: 1.772 MB / 0.6602 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.008, allocations: 11.92 kB / 0.6602 GB, free: 9.309 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)