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.9342/0.9342, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.0009895/0.0009895, allocations: 176.8 kB / 182.2 MB, free: 9.438 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.302/1.302, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000929/0.000929, allocations: 93.52 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 278 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.909e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.5786, allocations: 108.3 MB / 0.8632 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.579, allocations: 71.95 kB / 0.8633 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.5986, allocations: 5.016 MB / 0.8682 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5987, allocations: 0 / 0.8682 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.5987, allocations: 4 kB / 0.8682 GB, free: 14.34 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.0007024/0.5994, allocations: 454.1 kB / 0.8686 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5995, allocations: 12.03 kB / 0.8686 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.5996, allocations: 11.91 kB / 0.8687 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.6, allocations: 214.8 kB / 0.8689 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6, allocations: 3.953 kB / 0.8689 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.6001, allocations: 11.94 kB / 0.8689 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001574/0.6002, allocations: 47.97 kB / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.6004, allocations: 97.73 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6005, allocations: 0 / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6005, allocations: 0 / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6005, allocations: 0 / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.6008, allocations: 231.8 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.601, allocations: 99.89 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.6012, allocations: 70.66 kB / 0.8694 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.6012, allocations: 3.953 kB / 0.8694 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.6014, allocations: 130.5 kB / 0.8695 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 3.847e-06/0.6015, allocations: 0 / 0.8695 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0005224/0.602, allocations: 177.5 kB / 0.8697 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.6021, allocations: 114.8 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.6022, allocations: 130.6 kB / 0.8699 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.6023, allocations: 29.7 kB / 0.87 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.6024, allocations: 104.7 kB / 0.8701 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.6025, allocations: 51.36 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.6025, allocations: 0 / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6027, allocations: 326.8 kB / 0.8704 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.6028, allocations: 48.27 kB / 0.8705 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.6031, allocations: 183.1 kB / 0.8706 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.6033, allocations: 76.3 kB / 0.8707 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6033, allocations: 7.938 kB / 0.8707 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004516/0.6038, allocations: 193.3 kB / 0.8709 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6038, allocations: 7.953 kB / 0.8709 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/0.6039, allocations: 7.984 kB / 0.8709 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.6039, allocations: 4 kB / 0.8709 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6041, allocations: 11.94 kB / 0.8709 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.6041, allocations: 4 kB / 0.8709 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.6044, allocations: 51.8 kB / 0.871 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.6045, allocations: 15.98 kB / 0.871 GB, free: 11.15 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.0001507/0.6046, allocations: 115.4 kB / 0.8711 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004254/0.605, allocations: 178.7 kB / 0.8713 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.6051, allocations: 11.86 kB / 0.8713 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.6051, allocations: 16.62 kB / 0.8713 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6052, allocations: 4 kB / 0.8713 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6052, allocations: 4 kB / 0.8713 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6052, allocations: 3.938 kB / 0.8713 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.6054, allocations: 182 kB / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6054, allocations: 0 / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.6055, allocations: 12 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6055, allocations: 0 / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.6055, allocations: 7.953 kB / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6055, allocations: 0 / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.6056, allocations: 7.984 kB / 0.8715 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.606, allocations: 249.8 kB / 0.8718 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.6061, allocations: 85.02 kB / 0.8718 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.6061, allocations: 0 / 0.8718 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.6062, allocations: 11.98 kB / 0.8719 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.6063, allocations: 8 kB / 0.8719 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.6063, allocations: 11.98 kB / 0.8719 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.6064, allocations: 104.8 kB / 0.872 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6064, allocations: 0 / 0.872 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006165/0.6071, allocations: 111.9 kB / 0.8721 GB, free: 9.949 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.001086/0.6082, allocations: 1.014 MB / 0.8731 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.6086, allocations: 209 kB / 0.8733 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6086, allocations: 0 / 0.8733 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.6087, allocations: 55.92 kB / 0.8733 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.6089, allocations: 7.719 kB / 0.8733 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.6096, allocations: 262.4 kB / 0.8736 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.61, allocations: 0.7123 MB / 0.8743 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.6101, allocations: 13.3 kB / 0.8743 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.6101, allocations: 35.36 kB / 0.8743 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6102, allocations: 0 / 0.8743 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.6357, allocations: 3.865 MB / 0.8781 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.636, allocations: 179.8 kB / 0.8783 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.3, allocations: 2.391 kB / 0.8783 GB, free: 3.52 MB / 0.5417 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)