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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001585/0.001585, allocations: 193.2 kB / 16.25 MB, free: 6.641 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 282.9 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 96.22 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 86.98 MB / 0.6797 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002594/0.1402, allocations: 1.525 MB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006714/0.1409, allocations: 442.1 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1409, allocations: 0 / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.141, allocations: 0 / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.1411, allocations: 3.938 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.1412, allocations: 19.92 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.1413, allocations: 58.52 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.1414, allocations: 12.28 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.1415, allocations: 23.92 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.1415, allocations: 15.92 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1415, allocations: 4 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.1416, allocations: 4.781 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.1416, allocations: 15.92 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.1416, allocations: 25.64 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.1417, allocations: 51.69 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1417, allocations: 0 / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1417, allocations: 0 / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1418, allocations: 4 kB / 0.6819 GB, free: 14.74 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.0004385/0.1422, allocations: 360.9 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1422, allocations: 8.031 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1423, allocations: 39.86 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.1423, allocations: 8.844 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1424, allocations: 160.4 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1425, allocations: 9.312 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1425, allocations: 8.375 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1426, allocations: 62.27 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1426, allocations: 4 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1426, allocations: 0 / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1426, allocations: 4 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.1427, allocations: 23.98 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.1431, allocations: 304.6 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1433, allocations: 58.55 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.1433, allocations: 24.95 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1433, allocations: 0 / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1435, allocations: 79.41 kB / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1435, allocations: 0 / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002021/0.1437, allocations: 101.5 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1438, allocations: 59.39 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.1438, allocations: 109.8 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1439, allocations: 29.7 kB / 0.6833 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.1439, allocations: 88.14 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1439, allocations: 15.66 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.144, allocations: 37.64 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.1441, allocations: 318.8 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.1441, allocations: 15.98 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.1442, allocations: 55.42 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.1443, allocations: 63.38 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1443, allocations: 0 / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001333/0.1444, allocations: 89.61 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1444, allocations: 4 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1444, allocations: 7.938 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.1445, allocations: 4.031 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.1445, allocations: 15.98 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1445, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.1446, allocations: 11.91 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1446, allocations: 3.938 kB / 0.684 GB, free: 12.35 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 7.877e-05/0.1447, allocations: 128.7 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1447, allocations: 0 / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.1448, allocations: 7.969 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1448, allocations: 8 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1448, allocations: 352 / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1448, allocations: 4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.1452, allocations: 366.3 kB / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1452, allocations: 480 / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1452, allocations: 11.97 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1452, allocations: 0 / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1452, allocations: 4 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1453, allocations: 7.938 kB / 0.6845 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1453, allocations: 3.938 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1454, allocations: 179.5 kB / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1455, allocations: 81.02 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1455, allocations: 4 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1456, allocations: 11.86 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1456, allocations: 12 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1456, allocations: 0 / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.1457, allocations: 87.27 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1457, allocations: 0 / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1459, allocations: 16 kB / 0.6848 GB, free: 11.34 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.0003842/0.1463, allocations: 0.7123 MB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1465, allocations: 59.92 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1465, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.1465, allocations: 31.92 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1468, allocations: 12.3 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1479, allocations: 1.375 MB / 0.687 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1481, allocations: 0.6859 MB / 0.6877 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1482, allocations: 11.92 kB / 0.6877 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1482, allocations: 19.38 kB / 0.6877 GB, free: 8.285 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1482, allocations: 0 / 0.6877 GB, free: 8.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.162, allocations: 1.624 MB / 0.6893 GB, free: 6.832 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.1622, allocations: 222.3 kB / 0.6895 GB, free: 6.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.837, allocations: 0 / 0.6895 GB, free: 6.578 MB / 494.1 MB (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)