Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.008358/0.008358, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.002315/0.002315, allocations: 201.8 kB / 16.68 MB, free: 6.375 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 286.3 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004515/0.004515, allocations: 88.08 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1683, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002607/0.171, allocations: 1.469 MB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.1717, allocations: 447.3 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.1718, allocations: 0 / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.1718, allocations: 3.938 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.1719, allocations: 11.94 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.1721, allocations: 27.91 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.1722, allocations: 51.83 kB / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.1723, allocations: 8 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.1723, allocations: 23.92 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.1724, allocations: 19.92 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1724, allocations: 4 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.1725, allocations: 4 kB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.1725, allocations: 15.92 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1726, allocations: 23.92 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1727, allocations: 52.03 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1727, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1727, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.1727, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB 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.0005554/0.1733, allocations: 355.4 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1733, allocations: 15.97 kB / 0.7683 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1733, allocations: 30.75 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1734, allocations: 12.89 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1736, allocations: 176.3 kB / 0.7685 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1736, allocations: 384 / 0.7685 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1736, allocations: 4.375 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1737, allocations: 65.73 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1737, allocations: 0 / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1738, allocations: 4 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1738, allocations: 0 / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.1738, allocations: 27.97 kB / 0.7686 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.1744, allocations: 300.8 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1745, allocations: 58.62 kB / 0.769 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1745, allocations: 24.91 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1746, allocations: 0 / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.1747, allocations: 83.3 kB / 0.7691 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 3.356e-06/0.1747, allocations: 0 / 0.7691 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.175, allocations: 97.58 kB / 0.7692 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.175, allocations: 67.27 kB / 0.7692 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.1751, allocations: 101.9 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1752, allocations: 25.7 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1752, allocations: 96.08 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1753, allocations: 23.8 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1753, allocations: 29.7 kB / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1755, allocations: 318.8 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.1755, allocations: 19.98 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.1756, allocations: 43.42 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1757, allocations: 63.38 kB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1757, allocations: 4 kB / 0.7699 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001535/0.1759, allocations: 97.61 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1759, allocations: 8 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1759, allocations: 0 / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1759, allocations: 0 / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.176, allocations: 15.92 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.176, allocations: 4 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.1761, allocations: 7.953 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1761, allocations: 7.938 kB / 0.7701 GB, free: 4.383 MB / 0.5606 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.823e-05/0.1762, allocations: 129.6 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1762, allocations: 7.984 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1763, allocations: 7.969 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1763, allocations: 288 / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1763, allocations: 0 / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1763, allocations: 3.984 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.1767, allocations: 374.6 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1768, allocations: 0 / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.1768, allocations: 8 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1768, allocations: 0 / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1768, allocations: 7.922 kB / 0.7706 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1768, allocations: 3.938 kB / 0.7706 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1768, allocations: 0 / 0.7706 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.177, allocations: 175.5 kB / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1771, allocations: 89.05 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1771, allocations: 0 / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.1772, allocations: 15.94 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1772, allocations: 7.984 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1773, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.1773, allocations: 87.27 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1773, allocations: 0 / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002357/0.1776, allocations: 12 kB / 0.771 GB, free: 3.375 MB / 0.5606 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.0005096/0.1781, allocations: 0.7202 MB / 0.7717 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.1782, allocations: 51.86 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1782, allocations: 0 / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.1783, allocations: 28.27 kB / 0.7717 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1786, allocations: 18.12 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.18, allocations: 1.377 MB / 0.7731 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1803, allocations: 0.6846 MB / 0.7738 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.1803, allocations: 4 kB / 0.7738 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1804, allocations: 19.44 kB / 0.7738 GB, free: 336 kB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1804, allocations: 0 / 0.7738 GB, free: 336 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/0.4741, allocations: 1.771 MB / 0.7755 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.264, allocations: 8.5 kB / 0.7755 GB, free: 14.37 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)