Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.457/1.457, allocations: 288.4 MB / 303.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 180.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 0.631 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007067/0.0007067, allocations: 84.72 kB / 0.7444 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 18.12 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1582, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0005549/0.1588, allocations: 406.6 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.1597, allocations: 1.138 MB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.1597, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1597, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.1598, allocations: 15.91 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1601, allocations: 118.7 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.476e-05/0.1602, allocations: 119.7 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.1603, allocations: 11.98 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1603, allocations: 51.89 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.1604, allocations: 39.89 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1604, allocations: 12 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.1605, allocations: 19.98 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1605, allocations: 23.89 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1606, allocations: 65.61 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.1607, allocations: 96 kB / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1607, allocations: 0 / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1607, allocations: 0 / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.1607, allocations: 0 / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003458/0.161, allocations: 397.1 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.1611, allocations: 8.031 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.1611, allocations: 42.73 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1611, allocations: 12.84 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1614, allocations: 214 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1615, allocations: 8.359 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1615, allocations: 20.38 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1616, allocations: 85.94 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.1616, allocations: 0 / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1616, allocations: 4 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1617, allocations: 0 / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.1617, allocations: 47.84 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1621, allocations: 368.5 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1623, allocations: 98.47 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1623, allocations: 40.88 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.1623, allocations: 4 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1625, allocations: 128.3 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1625, allocations: 0 / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0002651/0.1628, allocations: 203.7 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.1628, allocations: 59.34 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.1629, allocations: 113.8 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1629, allocations: 33.7 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.1629, allocations: 84.14 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1629, allocations: 39.75 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.163, allocations: 0 / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.163, allocations: 326.8 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.1631, allocations: 43.98 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.1632, allocations: 90.48 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1633, allocations: 133.9 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1633, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002396/0.1635, allocations: 204.2 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1636, allocations: 37.69 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1636, allocations: 7.984 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.1636, allocations: 4.125 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.1637, allocations: 15.94 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1637, allocations: 4 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1639, allocations: 39.91 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1639, allocations: 15.98 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.094e-05/0.1639, allocations: 129.7 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.164, allocations: 15.83 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.164, allocations: 16.5 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.164, allocations: 0 / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.164, allocations: 0 / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.164, allocations: 0 / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1643, allocations: 434.4 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1643, allocations: 4 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.1643, allocations: 4 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1643, allocations: 0 / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1643, allocations: 7.984 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1643, allocations: 0 / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1643, allocations: 0 / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1645, allocations: 268.9 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.1646, allocations: 92.94 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1646, allocations: 4 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.1647, allocations: 11.98 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.1647, allocations: 23.86 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1647, allocations: 7.984 kB / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.1647, allocations: 87.28 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002208/0.165, allocations: 35.98 kB / 0.9862 GB, free: 20.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003265/0.1653, allocations: 0.8028 MB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1655, allocations: 189.9 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1655, allocations: 0 / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.1656, allocations: 67.92 kB / 0.9872 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1658, allocations: 28.62 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.1666, allocations: 0.6784 MB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.1667, allocations: 0.6884 MB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.1667, allocations: 12.55 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1667, allocations: 27.48 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.1667, allocations: 0 / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4538/0.6205, allocations: 2.425 MB / 0.9909 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.6207, allocations: 211.8 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.166, allocations: 0 / 0.9911 GB, free: 15.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)