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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7382/0.7382, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001105/0.001105, allocations: 187.8 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.328/1.328, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0008745/0.0008745, allocations: 99.27 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 278.5 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.819e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.355, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.462, allocations: 109 MB / 0.8708 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4622, allocations: 71.95 kB / 0.8708 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.4758, allocations: 5.04 MB / 0.8758 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4758, allocations: 0 / 0.8758 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.4759, allocations: 4 kB / 0.8758 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.0004668/0.4763, allocations: 458 kB / 0.8762 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4764, allocations: 8.031 kB / 0.8762 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.4764, allocations: 42.55 kB / 0.8763 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.4765, allocations: 11.91 kB / 0.8763 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4768, allocations: 212.1 kB / 0.8765 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4768, allocations: 11.94 kB / 0.8765 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.4768, allocations: 12 kB / 0.8765 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.477, allocations: 108.6 kB / 0.8766 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4771, allocations: 0 / 0.8766 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4771, allocations: 4 kB / 0.8766 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4771, allocations: 0 / 0.8766 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.4772, allocations: 47.92 kB / 0.8766 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.4774, allocations: 259.3 kB / 0.8769 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4776, allocations: 115.8 kB / 0.877 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.4777, allocations: 74.67 kB / 0.8771 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.4777, allocations: 0 / 0.8771 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.4779, allocations: 146.4 kB / 0.8772 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.4779, allocations: 0 / 0.8772 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0003322/0.4783, allocations: 170.7 kB / 0.8774 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.4783, allocations: 118.8 kB / 0.8775 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4785, allocations: 131.4 kB / 0.8776 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.4785, allocations: 41.69 kB / 0.8777 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.4786, allocations: 96.7 kB / 0.8777 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.4786, allocations: 55.28 kB / 0.8778 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4786, allocations: 8 kB / 0.8778 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4788, allocations: 330.8 kB / 0.8781 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.4789, allocations: 44.28 kB / 0.8782 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.4791, allocations: 200.1 kB / 0.8784 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4792, allocations: 71.84 kB / 0.8784 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4792, allocations: 3.938 kB / 0.8784 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002899/0.4795, allocations: 201.3 kB / 0.8786 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4795, allocations: 4 kB / 0.8786 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.4796, allocations: 8 kB / 0.8786 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4796, allocations: 0 / 0.8786 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.4797, allocations: 15.98 kB / 0.8786 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4797, allocations: 1.641 kB / 0.8786 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.4799, allocations: 55.8 kB / 0.8787 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.4799, allocations: 8 kB / 0.8787 GB, free: 7.137 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 8.818e-05/0.48, allocations: 127.2 kB / 0.8788 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.4801, allocations: 15.77 kB / 0.8788 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.4801, allocations: 20.61 kB / 0.8789 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4801, allocations: 0 / 0.8789 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4801, allocations: 4 kB / 0.8789 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4801, allocations: 4 kB / 0.8789 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.4803, allocations: 209.5 kB / 0.8791 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4803, allocations: 0 / 0.8791 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.4803, allocations: 12.08 kB / 0.8791 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4804, allocations: 7.953 kB / 0.8791 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4804, allocations: 7.984 kB / 0.8791 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4804, allocations: 7.984 kB / 0.8791 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4804, allocations: 0 / 0.8791 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4807, allocations: 232.4 kB / 0.8793 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.4807, allocations: 93 kB / 0.8794 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.4807, allocations: 4 kB / 0.8794 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.4808, allocations: 4 kB / 0.8794 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4809, allocations: 11.92 kB / 0.8794 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4809, allocations: 16 kB / 0.8795 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.4809, allocations: 104.6 kB / 0.8796 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.481, allocations: 0 / 0.8796 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003436/0.4813, allocations: 123.9 kB / 0.8797 GB, free: 6.047 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.0007976/0.4821, allocations: 1.015 MB / 0.8807 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.4824, allocations: 218.7 kB / 0.8809 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4824, allocations: 0 / 0.8809 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.4825, allocations: 59.92 kB / 0.8809 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.4826, allocations: 3.938 kB / 0.8809 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.4832, allocations: 277.3 kB / 0.8812 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4835, allocations: 0.7126 MB / 0.8819 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.4835, allocations: 8.891 kB / 0.8819 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4836, allocations: 35.42 kB / 0.8819 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.4836, allocations: 0 / 0.8819 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.4982, allocations: 4.271 MB / 0.8861 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.4985, allocations: 189.7 kB / 0.8863 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.084, allocations: 0 / 0.8863 GB, free: 15.35 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)