Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4913/0.4913, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008851, allocations: 108 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4684, allocations: 101.9 MB / 0.6685 GB, free: 2.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4686, allocations: 75.94 kB / 0.6685 GB, free: 2.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.4833, allocations: 5.06 MB / 0.6735 GB, free: 13.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4833, allocations: 0 / 0.6735 GB, free: 13.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4833, allocations: 4 kB / 0.6735 GB, free: 13.38 MB / 474.7 MB 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.0005289/0.4839, allocations: 483.2 kB / 0.6739 GB, free: 12.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4839, allocations: 8.031 kB / 0.6739 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.484, allocations: 38.56 kB / 0.674 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.484, allocations: 15.86 kB / 0.674 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.4843, allocations: 216 kB / 0.6742 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4843, allocations: 8 kB / 0.6742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.4844, allocations: 11.94 kB / 0.6742 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4845, allocations: 108.2 kB / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4845, allocations: 0 / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4846, allocations: 4 kB / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4846, allocations: 3.953 kB / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.4847, allocations: 47.91 kB / 0.6744 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.4849, allocations: 243.5 kB / 0.6746 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.485, allocations: 115.8 kB / 0.6747 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.4851, allocations: 96 / 0.6747 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.4852, allocations: 146.3 kB / 0.6749 GB, free: 11.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.4853, allocations: 0 / 0.6749 GB, free: 11.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004852/0.4857, allocations: 460.7 kB / 0.6753 GB, free: 11.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4858, allocations: 118.8 kB / 0.6754 GB, free: 11.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.4859, allocations: 134.6 kB / 0.6755 GB, free: 10.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.4859, allocations: 37.69 kB / 0.6756 GB, free: 10.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.486, allocations: 104.7 kB / 0.6757 GB, free: 10.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.4861, allocations: 51.3 kB / 0.6757 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.4861, allocations: 8 kB / 0.6757 GB, free: 10.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.4862, allocations: 330.8 kB / 0.676 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.4863, allocations: 52.59 kB / 0.6761 GB, free: 10.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4865, allocations: 202.3 kB / 0.6763 GB, free: 10.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.4866, allocations: 78.81 kB / 0.6764 GB, free: 10.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4866, allocations: 0 / 0.6764 GB, free: 10.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002726/0.4869, allocations: 205.8 kB / 0.6766 GB, free: 9.828 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4869, allocations: 5.562 kB / 0.6766 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.4869, allocations: 11.98 kB / 0.6766 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4869, allocations: 4 kB / 0.6766 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.487, allocations: 15.94 kB / 0.6766 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.487, allocations: 4 kB / 0.6766 GB, free: 9.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4872, allocations: 47.86 kB / 0.6766 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.4873, allocations: 15.95 kB / 0.6767 GB, free: 9.727 MB / 474.7 MB 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 () * Number of clocked 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.000108/0.4874, allocations: 144 kB / 0.6768 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.4874, allocations: 11.81 kB / 0.6768 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.4874, allocations: 16.86 kB / 0.6768 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4875, allocations: 7.969 kB / 0.6768 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4875, allocations: 4 kB / 0.6768 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4875, allocations: 0 / 0.6768 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.4876, allocations: 209.5 kB / 0.677 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4876, allocations: 0 / 0.677 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.4877, allocations: 12 kB / 0.677 GB, free: 9.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4877, allocations: 7.938 kB / 0.6771 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4877, allocations: 4 kB / 0.6771 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4877, allocations: 4 kB / 0.6771 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4877, allocations: 7.922 kB / 0.6771 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.488, allocations: 240.4 kB / 0.6773 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.4881, allocations: 88.95 kB / 0.6774 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.4881, allocations: 7.984 kB / 0.6774 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.4881, allocations: 8 kB / 0.6774 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4882, allocations: 11.94 kB / 0.6774 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.4882, allocations: 4 kB / 0.6774 GB, free: 8.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.4883, allocations: 107.2 kB / 0.6775 GB, free: 8.734 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4883, allocations: 0 / 0.6775 GB, free: 8.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.4887, allocations: 119.9 kB / 0.6776 GB, free: 8.617 MB / 474.7 MB 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) * Number of clocked states: 0 () * 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.0007479/0.4894, allocations: 1.03 MB / 0.6786 GB, free: 7.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4897, allocations: 213.9 kB / 0.6788 GB, free: 7.316 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4897, allocations: 0 / 0.6788 GB, free: 7.316 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.4898, allocations: 55.92 kB / 0.6789 GB, free: 7.262 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.4899, allocations: 4 kB / 0.6789 GB, free: 7.258 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4911, allocations: 1.169 MB / 0.68 GB, free: 6.027 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.4913, allocations: 0.7126 MB / 0.6807 GB, free: 5.289 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.4914, allocations: 12.88 kB / 0.6807 GB, free: 5.277 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.4914, allocations: 35.42 kB / 0.6808 GB, free: 5.242 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4914, allocations: 0 / 0.6808 GB, free: 5.242 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.5056, allocations: 4.197 MB / 0.6849 GB, free: 1.242 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.5058, allocations: 197 kB / 0.6851 GB, free: 1.004 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.121, allocations: 3.938 kB / 0.6851 GB, free: 1 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)