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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8014/0.8014, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001081/0.001082, allocations: 184.7 kB / 187.3 MB, free: 11.88 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.334/1.334, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0009355/0.0009355, allocations: 96.7 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 269.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.092e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3869, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.5006, allocations: 109 MB / 0.8707 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5009, allocations: 79.81 kB / 0.8708 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5156, allocations: 5.034 MB / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5156, allocations: 4 kB / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.5156, allocations: 4 kB / 0.8757 GB, free: 10.41 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.0005415/0.5162, allocations: 454 kB / 0.8762 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5162, allocations: 12.03 kB / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.5163, allocations: 11.91 kB / 0.8762 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.5166, allocations: 212.3 kB / 0.8764 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.5166, allocations: 11.95 kB / 0.8764 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.5167, allocations: 23.92 kB / 0.8764 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5169, allocations: 96.64 kB / 0.8765 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5169, allocations: 3.984 kB / 0.8765 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5169, allocations: 4 kB / 0.8765 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.5169, allocations: 0 / 0.8765 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.517, allocations: 51.91 kB / 0.8766 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.5173, allocations: 255.3 kB / 0.8768 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.5174, allocations: 111.7 kB / 0.8769 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.5175, allocations: 74.72 kB / 0.877 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.5176, allocations: 4 kB / 0.877 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.5178, allocations: 138.4 kB / 0.8771 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.5178, allocations: 0 / 0.8771 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0003372/0.5181, allocations: 177.5 kB / 0.8773 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.5182, allocations: 114.8 kB / 0.8774 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5183, allocations: 135.4 kB / 0.8775 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5183, allocations: 37.7 kB / 0.8776 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.5184, allocations: 96.69 kB / 0.8777 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.5185, allocations: 47.36 kB / 0.8777 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.5185, allocations: 11.94 kB / 0.8777 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5186, allocations: 330.8 kB / 0.878 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.5187, allocations: 44.28 kB / 0.8781 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5189, allocations: 200.7 kB / 0.8783 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.519, allocations: 75.84 kB / 0.8783 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5191, allocations: 0 / 0.8783 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003029/0.5194, allocations: 201.3 kB / 0.8785 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5194, allocations: 4 kB / 0.8785 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.5194, allocations: 9.953 kB / 0.8785 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5194, allocations: 0 / 0.8785 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.5195, allocations: 19.98 kB / 0.8786 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.5195, allocations: 3.938 kB / 0.8786 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.5197, allocations: 55.8 kB / 0.8786 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.5198, allocations: 12 kB / 0.8786 GB, free: 7.102 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 9.555e-05/0.5199, allocations: 127.4 kB / 0.8788 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.5199, allocations: 15.77 kB / 0.8788 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.5199, allocations: 16.61 kB / 0.8788 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.52, allocations: 4 kB / 0.8788 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.52, allocations: 4 kB / 0.8788 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.52, allocations: 0 / 0.8788 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5201, allocations: 201.5 kB / 0.879 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5202, allocations: 3.938 kB / 0.879 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.5202, allocations: 15.94 kB / 0.879 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5202, allocations: 4 kB / 0.879 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5202, allocations: 7.938 kB / 0.879 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5202, allocations: 4 kB / 0.879 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5203, allocations: 0 / 0.879 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.5206, allocations: 238.1 kB / 0.8792 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5206, allocations: 92.94 kB / 0.8793 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.5206, allocations: 4 kB / 0.8793 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.5207, allocations: 4 kB / 0.8793 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5208, allocations: 19.92 kB / 0.8794 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.5208, allocations: 8 kB / 0.8794 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.06e-05/0.5208, allocations: 105 kB / 0.8795 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5209, allocations: 0 / 0.8795 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003987/0.5213, allocations: 119.8 kB / 0.8796 GB, free: 6.023 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.0003093/0.5216, allocations: 211 kB / 0.8798 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.5219, allocations: 224.7 kB / 0.88 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5219, allocations: 4 kB / 0.88 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.522, allocations: 51.94 kB / 0.8801 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.5221, allocations: 19.73 kB / 0.8801 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.5224, allocations: 175.8 kB / 0.8802 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.5227, allocations: 0.7126 MB / 0.8809 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.671e-05/0.5228, allocations: 16.88 kB / 0.881 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.5228, allocations: 15.44 kB / 0.881 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5228, allocations: 0 / 0.881 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of Templates: time 0.005245/0.528, allocations: 2.845 MB / 0.8837 GB, free: 1.746 MB / 0.5417 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)