Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7697/0.7697, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 176.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 82.61 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 273 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.941e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3805, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5218, allocations: 108.3 MB / 0.8631 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.5221, allocations: 75.83 kB / 0.8632 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5364, allocations: 5.013 MB / 0.8681 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5365, allocations: 0 / 0.8681 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5365, allocations: 0 / 0.8681 GB, free: 14.45 MB / 0.5417 GB 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.0005801/0.5371, allocations: 454.1 kB / 0.8685 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5371, allocations: 8.031 kB / 0.8685 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.5372, allocations: 15.89 kB / 0.8686 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5375, allocations: 214.8 kB / 0.8688 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5375, allocations: 7.953 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5375, allocations: 8 kB / 0.8688 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/0.5377, allocations: 35.98 kB / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.5378, allocations: 100.2 kB / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5379, allocations: 0 / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5379, allocations: 4 kB / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5379, allocations: 0 / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.5382, allocations: 223.8 kB / 0.8691 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5383, allocations: 107.9 kB / 0.8692 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.5384, allocations: 66.67 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5384, allocations: 11.89 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.5386, allocations: 130.5 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.5387, allocations: 4 kB / 0.8694 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0004061/0.5391, allocations: 173.4 kB / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5391, allocations: 118.8 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.5392, allocations: 130.8 kB / 0.8698 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.5393, allocations: 29.7 kB / 0.8699 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.5394, allocations: 92.7 kB / 0.87 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.5394, allocations: 51.36 kB / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.5394, allocations: 0 / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5395, allocations: 330.8 kB / 0.8703 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.5396, allocations: 48.22 kB / 0.8704 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5398, allocations: 192.1 kB / 0.8705 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.54, allocations: 80.3 kB / 0.8706 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.54, allocations: 0 / 0.8706 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003174/0.5403, allocations: 189.3 kB / 0.8708 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5404, allocations: 13.52 kB / 0.8708 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.5404, allocations: 4 kB / 0.8708 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5404, allocations: 7.984 kB / 0.8708 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.5405, allocations: 12.14 kB / 0.8708 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5405, allocations: 0 / 0.8708 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.5407, allocations: 47.8 kB / 0.8709 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.5408, allocations: 15.94 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.5409, allocations: 119.2 kB / 0.871 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.5409, allocations: 19.8 kB / 0.871 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.541, allocations: 16.58 kB / 0.871 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.541, allocations: 4 kB / 0.8711 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.541, allocations: 0 / 0.8711 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.541, allocations: 0 / 0.8711 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.5411, allocations: 178.1 kB / 0.8712 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5411, allocations: 4 kB / 0.8712 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.5412, allocations: 11.94 kB / 0.8712 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/0.5412, allocations: 4 kB / 0.8712 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5412, allocations: 4 kB / 0.8712 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5412, allocations: 0 / 0.8712 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5412, allocations: 3.953 kB / 0.8712 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.5416, allocations: 250.1 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.5416, allocations: 89.02 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5417, allocations: 7.953 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.5417, allocations: 4 kB / 0.8716 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.5418, allocations: 19.86 kB / 0.8716 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5418, allocations: 7.984 kB / 0.8716 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.5419, allocations: 107.2 kB / 0.8717 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5419, allocations: 0 / 0.8717 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000387/0.5423, allocations: 111.9 kB / 0.8718 GB, free: 10.23 MB / 0.5417 GB 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) * 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 (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.0003309/0.5426, allocations: 207.1 kB / 0.872 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.5429, allocations: 213.3 kB / 0.8722 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5429, allocations: 4 kB / 0.8722 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.543, allocations: 51.94 kB / 0.8723 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.5432, allocations: 0 / 0.8723 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.5435, allocations: 179.1 kB / 0.8724 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5439, allocations: 0.7123 MB / 0.8731 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.5439, allocations: 17.14 kB / 0.8732 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.544, allocations: 15.44 kB / 0.8732 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.544, allocations: 0 / 0.8732 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of Templates: time 0.005901/0.5499, allocations: 2.762 MB / 0.8759 GB, free: 6.051 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)