Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 105 kB / 16.35 MB, free: 5.824 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.001747/0.001747, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 290 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 91.05 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002392/0.153, allocations: 1.485 MB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.154, allocations: 0.6928 MB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.1541, allocations: 0 / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.938e-05/0.1542, allocations: 15.86 kB / 0.6837 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.1542, allocations: 11.86 kB / 0.6837 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.1551, allocations: 342.4 kB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1553, allocations: 167.7 kB / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.1554, allocations: 4 kB / 0.6842 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.1555, allocations: 79.75 kB / 0.6843 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.1555, allocations: 47.83 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1556, allocations: 12 kB / 0.6844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.1559, allocations: 247.8 kB / 0.6846 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.156, allocations: 39.89 kB / 0.6846 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.1561, allocations: 63.7 kB / 0.6847 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1564, allocations: 307.3 kB / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1564, allocations: 0 / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1564, allocations: 0 / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1565, allocations: 0 / 0.685 GB, free: 3.941 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005706/0.157, allocations: 471 kB / 0.6854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1571, allocations: 12.03 kB / 0.6855 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1571, allocations: 16.75 kB / 0.6855 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1574, allocations: 214 kB / 0.6857 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1574, allocations: 12.36 kB / 0.6857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1574, allocations: 8.375 kB / 0.6857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1576, allocations: 96.73 kB / 0.6858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1576, allocations: 4.188 kB / 0.6858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1576, allocations: 11.88 kB / 0.6858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1576, allocations: 3.938 kB / 0.6858 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.1577, allocations: 47.97 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.158, allocations: 247.2 kB / 0.6861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1581, allocations: 116.6 kB / 0.6862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.1582, allocations: 70.66 kB / 0.6863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1583, allocations: 0 / 0.6863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1585, allocations: 133.8 kB / 0.6864 GB, free: 2.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1585, allocations: 8 kB / 0.6864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003832/0.1589, allocations: 209.4 kB / 0.6866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1589, allocations: 118.8 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.159, allocations: 139.9 kB / 0.6868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1591, allocations: 37.7 kB / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1592, allocations: 100.7 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.1592, allocations: 51.34 kB / 0.687 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1593, allocations: 65.62 kB / 0.6871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.1594, allocations: 330.8 kB / 0.6874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.1595, allocations: 52.25 kB / 0.6875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1597, allocations: 172.5 kB / 0.6876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1599, allocations: 134.6 kB / 0.6877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1599, allocations: 0 / 0.6877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002904/0.1602, allocations: 205.2 kB / 0.6879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1602, allocations: 4 kB / 0.6879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.1602, allocations: 11.94 kB / 0.688 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1603, allocations: 4 kB / 0.688 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.1604, allocations: 8 kB / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1604, allocations: 4 kB / 0.688 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1606, allocations: 51.78 kB / 0.688 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1606, allocations: 8 kB / 0.688 GB, free: 500 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 0.0001091/0.1607, allocations: 140.2 kB / 0.6882 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1608, allocations: 19.75 kB / 0.6882 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.1608, allocations: 12.7 kB / 0.6882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1608, allocations: 8 kB / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1608, allocations: 0 / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1608, allocations: 0 / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.161, allocations: 217.5 kB / 0.6884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.161, allocations: 4 kB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.161, allocations: 8 kB / 0.6884 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.161, allocations: 0 / 0.6884 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.161, allocations: 4 kB / 0.6884 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1611, allocations: 3.938 kB / 0.6884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1611, allocations: 0 / 0.6884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2473/0.4084, allocations: 217.6 kB / 0.6886 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.4085, allocations: 91.3 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.4085, allocations: 8.594 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.4086, allocations: 5.625 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4086, allocations: 10.06 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4086, allocations: 8.672 kB / 0.6888 GB, free: 17.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.4087, allocations: 110 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4087, allocations: 3.844 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.4091, allocations: 102 kB / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0002795/0.4094, allocations: 196.3 kB / 0.6891 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.4097, allocations: 217.3 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4097, allocations: 0.5 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.4098, allocations: 58.23 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.41, allocations: 8.5 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.4104, allocations: 250.2 kB / 0.6897 GB, free: 17.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4105, allocations: 0.7093 MB / 0.6904 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.4106, allocations: 12.28 kB / 0.6904 GB, free: 16.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.4106, allocations: 14.56 kB / 0.6904 GB, free: 16.79 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4106, allocations: 8.594 kB / 0.6904 GB, free: 16.79 MB / 494.1 MB Notification: Performance of Templates: time 0.006339/0.4169, allocations: 3.098 MB / 0.6934 GB, free: 16.64 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)