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.005445/0.005445, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001497/0.001498, allocations: 202 kB / 16.68 MB, free: 5.965 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002402, allocations: 290.2 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 95.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1497, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002418/0.1522, allocations: 1.465 MB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006557/0.1529, allocations: 447.4 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.1529, allocations: 0 / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.1529, allocations: 3.938 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.153, allocations: 7.922 kB / 0.7678 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1532, allocations: 27.91 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.1532, allocations: 47.86 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.1533, allocations: 23.95 kB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.1534, allocations: 23.92 kB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.1535, allocations: 19.92 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1535, allocations: 4 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.1535, allocations: 7.938 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.1535, allocations: 15.92 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1536, allocations: 19.92 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1537, allocations: 48.03 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1537, allocations: 0 / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1537, allocations: 0 / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1537, allocations: 0 / 0.768 GB, free: 6.797 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.0005016/0.1542, allocations: 363.4 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1542, allocations: 8.031 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1543, allocations: 38.75 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.1543, allocations: 4.891 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1545, allocations: 172.3 kB / 0.7685 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1545, allocations: 8.375 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1545, allocations: 8.312 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1546, allocations: 57.8 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1546, allocations: 0 / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1546, allocations: 4 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1547, allocations: 4 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.1547, allocations: 23.98 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1552, allocations: 296.7 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1553, allocations: 54.56 kB / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.1553, allocations: 32.94 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.1554, allocations: 0 / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.1555, allocations: 71.42 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1555, allocations: 0 / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002067/0.1557, allocations: 105.5 kB / 0.7692 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1558, allocations: 55.41 kB / 0.7692 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.1558, allocations: 101.8 kB / 0.7693 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1559, allocations: 37.7 kB / 0.7694 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.1559, allocations: 96 kB / 0.7695 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.156, allocations: 23.8 kB / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.156, allocations: 29.7 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1561, allocations: 322.8 kB / 0.7698 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.1562, allocations: 15.98 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.1562, allocations: 43.42 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.1563, allocations: 71.55 kB / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1563, allocations: 0 / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.1565, allocations: 101.5 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1565, allocations: 4 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1565, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1565, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.1566, allocations: 8 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1566, allocations: 4.031 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.1567, allocations: 15.94 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1567, allocations: 7.938 kB / 0.7701 GB, free: 4.391 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 8.547e-05/0.1568, allocations: 125.5 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.1568, allocations: 4 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.1568, allocations: 11.95 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1568, allocations: 0 / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1568, allocations: 4 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1568, allocations: 0 / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.1572, allocations: 362.3 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1573, allocations: 480 / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.1573, allocations: 4 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1573, allocations: 0 / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1573, allocations: 4 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1573, allocations: 7.938 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1573, allocations: 7.922 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1575, allocations: 179.4 kB / 0.7708 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1575, allocations: 85.06 kB / 0.7708 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1576, allocations: 3.984 kB / 0.7708 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1577, allocations: 7.938 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1577, allocations: 7.984 kB / 0.7709 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1577, allocations: 11.94 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.1578, allocations: 79.28 kB / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1578, allocations: 0 / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003161/0.1581, allocations: 19.98 kB / 0.771 GB, free: 3.387 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.0004523/0.1586, allocations: 0.7124 MB / 0.7717 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.1587, allocations: 51.92 kB / 0.7717 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1587, allocations: 0 / 0.7717 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.1588, allocations: 35.91 kB / 0.7717 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1591, allocations: 16.8 kB / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1604, allocations: 1.376 MB / 0.7731 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1607, allocations: 0.6885 MB / 0.7738 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.1607, allocations: 11.94 kB / 0.7738 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1607, allocations: 15.44 kB / 0.7738 GB, free: 344 kB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1607, allocations: 0 / 0.7738 GB, free: 344 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.129/1.29, allocations: 1.775 MB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/10.59, allocations: 2.625 kB / 0.7755 GB, free: 14.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)