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: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 116.4 kB / 16.37 MB, free: 6 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.001109/0.001109, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 289.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 98.16 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1368, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002357/0.1391, allocations: 1.478 MB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.1397, allocations: 434.9 kB / 0.6835 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.1398, allocations: 0 / 0.6835 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.1398, allocations: 11.92 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.1399, allocations: 11.92 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.14, allocations: 23.92 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.1401, allocations: 51.84 kB / 0.6836 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.1402, allocations: 11.98 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.1403, allocations: 15.94 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.1403, allocations: 31.83 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1403, allocations: 4 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.1404, allocations: 4 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1404, allocations: 8 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.1404, allocations: 31.86 kB / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.229e-05/0.1405, allocations: 39.83 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1405, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1405, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1405, allocations: 0 / 0.6837 GB, free: 5.297 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.0004265/0.141, allocations: 359.4 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.141, allocations: 8.031 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.141, allocations: 8.922 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1412, allocations: 168.3 kB / 0.6842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1412, allocations: 12.38 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1412, allocations: 8.312 kB / 0.6842 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1413, allocations: 61.92 kB / 0.6843 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1413, allocations: 0 / 0.6843 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1413, allocations: 7.938 kB / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1413, allocations: 0 / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.1414, allocations: 23.98 kB / 0.6843 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1418, allocations: 300.7 kB / 0.6846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.1419, allocations: 51.34 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.142, allocations: 28.94 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.142, allocations: 0 / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.1421, allocations: 79.31 kB / 0.6848 GB, free: 4.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1421, allocations: 8 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001913/0.1423, allocations: 93.62 kB / 0.6849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1424, allocations: 55.39 kB / 0.6849 GB, free: 3.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.1424, allocations: 109.8 kB / 0.685 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1425, allocations: 29.7 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1425, allocations: 88.12 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1425, allocations: 23.64 kB / 0.6851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1426, allocations: 33.7 kB / 0.6852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.1427, allocations: 322.8 kB / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.1427, allocations: 15.98 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.1428, allocations: 47.42 kB / 0.6855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.1429, allocations: 63.38 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1429, allocations: 0 / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001371/0.143, allocations: 101.5 kB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.143, allocations: 4 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.143, allocations: 4 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.1431, allocations: 0 / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1431, allocations: 12.36 kB / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1431, allocations: 0 / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.1432, allocations: 11.91 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1432, allocations: 4 kB / 0.6857 GB, free: 2.949 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.463e-05/0.1433, allocations: 133.6 kB / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1433, allocations: 8.016 kB / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.1433, allocations: 7.969 kB / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1434, allocations: 4 kB / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1434, allocations: 0 / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1434, allocations: 0 / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1437, allocations: 358.3 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1437, allocations: 0 / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.1438, allocations: 4 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1438, allocations: 0 / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1438, allocations: 15.98 kB / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1438, allocations: 3.938 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1438, allocations: 0 / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1439, allocations: 175.5 kB / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.144, allocations: 85 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.144, allocations: 4 kB / 0.6865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1441, allocations: 3.938 kB / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1441, allocations: 16.27 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1442, allocations: 7.938 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.1442, allocations: 87.25 kB / 0.6866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1442, allocations: 0 / 0.6866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1444, allocations: 16 kB / 0.6866 GB, free: 1.938 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 7.191e-05/0.1445, allocations: 97.92 kB / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1447, allocations: 51.92 kB / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1447, allocations: 0 / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.1447, allocations: 40.11 kB / 0.6868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.145, allocations: 11.98 kB / 0.6868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.1452, allocations: 137.6 kB / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1455, allocations: 0.6917 MB / 0.6876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.487e-05/0.1455, allocations: 7.938 kB / 0.6876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1455, allocations: 11.44 kB / 0.6876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1455, allocations: 0 / 0.6876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of Templates: time 0.002576/0.1481, allocations: 0.7844 MB / 0.6884 GB, free: 64 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)