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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.8851/0.8851, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001293/0.001293, allocations: 176.9 kB / 182.2 MB, free: 9.465 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.481/1.481, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.000955/0.000955, allocations: 80 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 279 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.727e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4291, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5688, allocations: 108.4 MB / 0.8633 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5691, allocations: 79.94 kB / 0.8634 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.584, allocations: 5.011 MB / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.332e-06/0.584, allocations: 0 / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.584, allocations: 4 kB / 0.8682 GB, free: 14.3 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.0006706/0.5847, allocations: 462 kB / 0.8687 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5848, allocations: 8.031 kB / 0.8687 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.5848, allocations: 15.91 kB / 0.8687 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5852, allocations: 211.8 kB / 0.8689 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5852, allocations: 11.94 kB / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.5852, allocations: 8 kB / 0.8689 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.5854, allocations: 47.97 kB / 0.869 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.5855, allocations: 96.89 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5856, allocations: 0 / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5856, allocations: 0 / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5856, allocations: 4 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.5859, allocations: 223.9 kB / 0.8693 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.586, allocations: 103.9 kB / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.5861, allocations: 66.67 kB / 0.8695 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.5862, allocations: 3.953 kB / 0.8695 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.5864, allocations: 136.1 kB / 0.8696 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.5864, allocations: 0 / 0.8696 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0004276/0.5868, allocations: 177.5 kB / 0.8698 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5869, allocations: 114.8 kB / 0.8699 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.587, allocations: 130.6 kB / 0.87 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.587, allocations: 29.7 kB / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.5871, allocations: 96.7 kB / 0.8701 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.5872, allocations: 59.33 kB / 0.8702 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.5872, allocations: 0 / 0.8702 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5873, allocations: 322.8 kB / 0.8705 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.5874, allocations: 48.27 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.5876, allocations: 188.3 kB / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.5878, allocations: 80.3 kB / 0.8708 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5878, allocations: 4 kB / 0.8708 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003023/0.5881, allocations: 189 kB / 0.871 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5881, allocations: 7.953 kB / 0.871 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.5882, allocations: 15.92 kB / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5882, allocations: 0 / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.5883, allocations: 15.94 kB / 0.871 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5883, allocations: 0 / 0.871 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5885, allocations: 51.8 kB / 0.871 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.5885, allocations: 12 kB / 0.8711 GB, free: 11.11 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.0001141/0.5887, allocations: 123.3 kB / 0.8712 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002852/0.589, allocations: 181.3 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.589, allocations: 19.84 kB / 0.8714 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.589, allocations: 12.62 kB / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5891, allocations: 4 kB / 0.8714 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5891, allocations: 0 / 0.8714 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5891, allocations: 4 kB / 0.8714 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.5892, allocations: 182 kB / 0.8716 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5893, allocations: 4 kB / 0.8716 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.5893, allocations: 8 kB / 0.8716 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5893, allocations: 0 / 0.8716 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5893, allocations: 7.953 kB / 0.8716 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5893, allocations: 0 / 0.8716 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5893, allocations: 0 / 0.8716 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.5897, allocations: 248.3 kB / 0.8718 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.5898, allocations: 85.02 kB / 0.8719 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.5898, allocations: 7.938 kB / 0.8719 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.5898, allocations: 4 kB / 0.8719 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.5899, allocations: 11.98 kB / 0.8719 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.5899, allocations: 11.98 kB / 0.8719 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.287e-05/0.59, allocations: 101 kB / 0.872 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.59, allocations: 0 / 0.872 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004527/0.5905, allocations: 107.9 kB / 0.8721 GB, free: 9.906 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.0008418/0.5913, allocations: 1.023 MB / 0.8731 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.5917, allocations: 205 kB / 0.8733 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5917, allocations: 0 / 0.8733 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.5918, allocations: 51.94 kB / 0.8734 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5919, allocations: 15.67 kB / 0.8734 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.5925, allocations: 258.2 kB / 0.8736 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5928, allocations: 0.7162 MB / 0.8743 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.5928, allocations: 12.88 kB / 0.8743 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.5929, allocations: 31.42 kB / 0.8744 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5929, allocations: 4 kB / 0.8744 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.6163, allocations: 3.868 MB / 0.8782 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6166, allocations: 187.1 kB / 0.8783 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.265, allocations: 0 / 0.8783 GB, free: 3.461 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)