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.7414/0.7414, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 175.2 kB / 187.3 MB, free: 11.89 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.322/1.322, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009123/0.0009123, allocations: 94.09 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 289.5 kB / 0.594 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.555e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3902, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4987, allocations: 109 MB / 0.8707 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.499, allocations: 76.36 kB / 0.8708 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.5136, allocations: 5.034 MB / 0.8757 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5136, allocations: 0 / 0.8757 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.5136, allocations: 4 kB / 0.8757 GB, free: 10.48 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.0005404/0.5142, allocations: 459.4 kB / 0.8761 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5142, allocations: 12.03 kB / 0.8761 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.5143, allocations: 15.91 kB / 0.8761 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.5146, allocations: 214.8 kB / 0.8763 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5146, allocations: 11.95 kB / 0.8764 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5147, allocations: 12 kB / 0.8764 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.5149, allocations: 102.2 kB / 0.8765 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5149, allocations: 0 / 0.8765 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5149, allocations: 7.938 kB / 0.8765 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5149, allocations: 4 kB / 0.8765 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.515, allocations: 47.92 kB / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.5153, allocations: 255.3 kB / 0.8768 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.5154, allocations: 107.8 kB / 0.8769 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.5156, allocations: 78.67 kB / 0.8769 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5156, allocations: 0 / 0.8769 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.5158, allocations: 143.5 kB / 0.8771 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.5158, allocations: 0 / 0.8771 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.000322/0.5161, allocations: 177.6 kB / 0.8772 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.5162, allocations: 118.8 kB / 0.8774 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5163, allocations: 126 kB / 0.8775 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.5164, allocations: 41.69 kB / 0.8775 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.5165, allocations: 96.64 kB / 0.8776 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.5166, allocations: 55.34 kB / 0.8777 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.5166, allocations: 4 kB / 0.8777 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5167, allocations: 330.8 kB / 0.878 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.5168, allocations: 48.28 kB / 0.878 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.517, allocations: 195.7 kB / 0.8782 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5172, allocations: 71.91 kB / 0.8783 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5172, allocations: 0 / 0.8783 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002898/0.5175, allocations: 201.2 kB / 0.8785 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5175, allocations: 5.406 kB / 0.8785 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.5175, allocations: 11.98 kB / 0.8785 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5175, allocations: 0 / 0.8785 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.5176, allocations: 23.98 kB / 0.8785 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.5176, allocations: 0 / 0.8785 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5178, allocations: 51.8 kB / 0.8786 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.5179, allocations: 8 kB / 0.8786 GB, free: 7.18 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.0001005/0.518, allocations: 127.2 kB / 0.8787 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.518, allocations: 19.77 kB / 0.8787 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.5181, allocations: 16.61 kB / 0.8787 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5181, allocations: 0 / 0.8787 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5181, allocations: 7.938 kB / 0.8787 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5181, allocations: 0 / 0.8787 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.5183, allocations: 209.5 kB / 0.8789 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5183, allocations: 0 / 0.8789 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.5183, allocations: 11.94 kB / 0.8789 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5183, allocations: 4 kB / 0.879 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5183, allocations: 7.938 kB / 0.879 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5184, allocations: 8 kB / 0.879 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5184, allocations: 0 / 0.879 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.5187, allocations: 237.9 kB / 0.8792 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.5187, allocations: 97 kB / 0.8793 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.5188, allocations: 0 / 0.8793 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.5188, allocations: 8 kB / 0.8793 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.5189, allocations: 15.92 kB / 0.8793 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.5189, allocations: 8 kB / 0.8793 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.519, allocations: 104 kB / 0.8794 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.519, allocations: 0 / 0.8794 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003563/0.5193, allocations: 115.9 kB / 0.8795 GB, free: 6.098 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.0003148/0.5197, allocations: 222.1 kB / 0.8797 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.52, allocations: 217.3 kB / 0.8799 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.52, allocations: 0 / 0.8799 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.52, allocations: 52.17 kB / 0.88 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.5202, allocations: 15.8 kB / 0.88 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.5205, allocations: 183.9 kB / 0.8802 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.5208, allocations: 0.7165 MB / 0.8809 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.499e-05/0.5209, allocations: 12.88 kB / 0.8809 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.5209, allocations: 15.44 kB / 0.8809 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5209, allocations: 0 / 0.8809 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of Templates: time 0.005333/0.5262, allocations: 2.846 MB / 0.8837 GB, free: 1.816 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)