Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 287.5 MB / 302.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 178.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009676/0.0009675, allocations: 107.3 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006524, allocations: 12.42 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2445, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002564/0.2471, allocations: 1.19 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2492, allocations: 0.6477 MB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.2493, allocations: 0 / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2495, allocations: 7.922 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2496, allocations: 15.86 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.2514, allocations: 277.6 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.2518, allocations: 143.6 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.2519, allocations: 7.984 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2521, allocations: 67.81 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2522, allocations: 51.81 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.2523, allocations: 4 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.2531, allocations: 223.8 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.2532, allocations: 35.88 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.2533, allocations: 49.64 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.2539, allocations: 203.8 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.254, allocations: 0 / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.254, allocations: 4 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.254, allocations: 3.938 kB / 0.9813 GB, free: 25.32 MB / 0.6198 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.0009185/0.2549, allocations: 450.9 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.255, allocations: 12.03 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.2551, allocations: 34.56 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.2552, allocations: 15.81 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2555, allocations: 218.7 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2556, allocations: 8 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.2557, allocations: 8 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.256, allocations: 104.2 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.256, allocations: 3.938 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2561, allocations: 0 / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2561, allocations: 4 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.2563, allocations: 43.97 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.2567, allocations: 243.4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.257, allocations: 111.9 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.2572, allocations: 78.66 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.2573, allocations: 3.938 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.2577, allocations: 146.3 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.828e-06/0.2577, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0008574/0.2586, allocations: 218 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2587, allocations: 114.8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2589, allocations: 144.2 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.259, allocations: 33.7 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.2591, allocations: 100.7 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.2592, allocations: 55.34 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.2593, allocations: 8 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.2594, allocations: 330.8 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2596, allocations: 48.25 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.2601, allocations: 181.3 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.2603, allocations: 67.98 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.2604, allocations: 0 / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006862/0.2611, allocations: 193.3 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2611, allocations: 4 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.2612, allocations: 4 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2612, allocations: 7.938 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2614, allocations: 23.92 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2615, allocations: 0 / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.2621, allocations: 55.8 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2622, allocations: 4 kB / 0.9842 GB, free: 21.97 MB / 0.6198 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 () * 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.0002187/0.2624, allocations: 152 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.2625, allocations: 15.75 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.2626, allocations: 12.72 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2626, allocations: 0 / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2626, allocations: 4 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2626, allocations: 0 / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.2629, allocations: 209.5 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.263, allocations: 0 / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.2631, allocations: 12 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/0.2631, allocations: 4 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2632, allocations: 7.984 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.2632, allocations: 4 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2632, allocations: 3.938 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.2638, allocations: 210.6 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.2639, allocations: 88.95 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.264, allocations: 11.98 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2641, allocations: 8 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.2642, allocations: 7.984 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2643, allocations: 8 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001119/0.2644, allocations: 113.7 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.02e-07/0.2644, allocations: 0 / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000804/0.2653, allocations: 99.98 kB / 0.9852 GB, free: 20.93 MB / 0.6198 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) * 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.001289/0.2666, allocations: 0.8413 MB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.2673, allocations: 216.9 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2673, allocations: 0 / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2675, allocations: 63.95 kB / 0.9862 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.2679, allocations: 19.17 kB / 0.9863 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.2704, allocations: 0.8538 MB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2707, allocations: 0.7048 MB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.2708, allocations: 12.88 kB / 0.9878 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.2709, allocations: 31.44 kB / 0.9878 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.2709, allocations: 4 kB / 0.9878 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3046, allocations: 4.269 MB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/0.305, allocations: 215 kB / 0.9922 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/2.965, allocations: 0 / 0.9922 GB, free: 13.74 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)