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.001242/0.001242, allocations: 107 kB / 16.4 MB, free: 6.016 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.001212/0.001212, allocations: 195.8 kB / 17.34 MB, free: 5.609 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7949/0.7949, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.73 kB / 0.5679 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 77.94 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002867/0.1353, allocations: 1.466 MB / 0.6455 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.1361, allocations: 444 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.1361, allocations: 0 / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.1362, allocations: 3.938 kB / 0.6459 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.1363, allocations: 7.938 kB / 0.6459 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1364, allocations: 35.89 kB / 0.6459 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.1365, allocations: 39.92 kB / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1367, allocations: 11.98 kB / 0.646 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.1367, allocations: 31.86 kB / 0.646 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.1368, allocations: 15.92 kB / 0.646 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1368, allocations: 4 kB / 0.646 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.1368, allocations: 8 kB / 0.6461 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.1369, allocations: 19.91 kB / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1369, allocations: 19.92 kB / 0.6461 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.137, allocations: 48.05 kB / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.137, allocations: 0 / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.137, allocations: 3.938 kB / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1371, allocations: 0 / 0.6461 GB, free: 7.398 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.00051/0.1376, allocations: 359.4 kB / 0.6465 GB, free: 7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1376, allocations: 12.62 kB / 0.6465 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.1377, allocations: 30.75 kB / 0.6465 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.1377, allocations: 12.89 kB / 0.6465 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1378, allocations: 172.2 kB / 0.6467 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1379, allocations: 4.375 kB / 0.6467 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1379, allocations: 4.375 kB / 0.6467 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.138, allocations: 57.8 kB / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.138, allocations: 4 kB / 0.6468 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.138, allocations: 8 kB / 0.6468 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.138, allocations: 0 / 0.6468 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.1381, allocations: 23.98 kB / 0.6468 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.1386, allocations: 304.7 kB / 0.6471 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1388, allocations: 50.56 kB / 0.6471 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.1388, allocations: 28.94 kB / 0.6472 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1388, allocations: 4.094 kB / 0.6472 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1391, allocations: 71.33 kB / 0.6472 GB, free: 6.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1391, allocations: 0 / 0.6472 GB, free: 6.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002177/0.1393, allocations: 101.6 kB / 0.6473 GB, free: 5.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1393, allocations: 55.41 kB / 0.6474 GB, free: 5.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.1394, allocations: 110.2 kB / 0.6475 GB, free: 5.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1395, allocations: 29.7 kB / 0.6475 GB, free: 5.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1395, allocations: 96.08 kB / 0.6476 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1395, allocations: 23.8 kB / 0.6476 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.1396, allocations: 33.64 kB / 0.6477 GB, free: 5.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1397, allocations: 318.7 kB / 0.648 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.1398, allocations: 23.98 kB / 0.648 GB, free: 5.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.1398, allocations: 43.36 kB / 0.648 GB, free: 5.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.795e-05/0.1399, allocations: 67.44 kB / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1399, allocations: 0 / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001415/0.1401, allocations: 97.55 kB / 0.6482 GB, free: 5.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1401, allocations: 4 kB / 0.6482 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1401, allocations: 4 kB / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1401, allocations: 0 / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.1402, allocations: 8 kB / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1402, allocations: 12.02 kB / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.1403, allocations: 7.953 kB / 0.6482 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1403, allocations: 11.94 kB / 0.6482 GB, free: 4.992 MB / 494.1 MB 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 0.0001152/0.1404, allocations: 121.1 kB / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.1405, allocations: 0 / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.1405, allocations: 15.95 kB / 0.6484 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1405, allocations: 0 / 0.6484 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1405, allocations: 0 / 0.6484 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.1405, allocations: 0 / 0.6484 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.141, allocations: 362.4 kB / 0.6487 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.141, allocations: 0 / 0.6487 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.1411, allocations: 4 kB / 0.6487 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1411, allocations: 4 kB / 0.6487 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1411, allocations: 0 / 0.6487 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.1411, allocations: 7.922 kB / 0.6487 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1411, allocations: 3.938 kB / 0.6487 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1413, allocations: 179.5 kB / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1414, allocations: 85.25 kB / 0.649 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1414, allocations: 3.984 kB / 0.649 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.1415, allocations: 15.88 kB / 0.649 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.1416, allocations: 15.86 kB / 0.649 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1416, allocations: 288 / 0.649 GB, free: 4.086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.1416, allocations: 87.27 kB / 0.6491 GB, free: 4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1417, allocations: 0 / 0.6491 GB, free: 4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1419, allocations: 15.98 kB / 0.6491 GB, free: 3.984 MB / 494.1 MB 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.0005625/0.1425, allocations: 0.7163 MB / 0.6498 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1427, allocations: 59.98 kB / 0.6499 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1427, allocations: 0 / 0.6499 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.1428, allocations: 27.92 kB / 0.6499 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1431, allocations: 16 kB / 0.6499 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1448, allocations: 1.357 MB / 0.6512 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.1454, allocations: 0.6885 MB / 0.6519 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.1454, allocations: 8 kB / 0.6519 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.1455, allocations: 19.72 kB / 0.6519 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1455, allocations: 0 / 0.6519 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1628, allocations: 1.762 MB / 0.6537 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.499, allocations: 11.88 kB / 0.6537 GB, free: 15.27 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)