Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json 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/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006505/0.006504, allocations: 97.23 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 192.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 67.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2714, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002302/0.2737, allocations: 1.479 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2748, allocations: 0.6928 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.2748, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.304e-05/0.2749, allocations: 11.86 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.275, allocations: 15.88 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.2758, allocations: 341.9 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.276, allocations: 179.6 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.276, allocations: 11.97 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.2761, allocations: 75.81 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.2762, allocations: 43.83 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2762, allocations: 16 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.2766, allocations: 247.8 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.2767, allocations: 43.89 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.2767, allocations: 59.72 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.2771, allocations: 307 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2771, allocations: 0 / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2771, allocations: 0 / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.2771, allocations: 0 / 1.224 GB, free: 10.82 MB / 0.9825 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.0005498/0.2777, allocations: 478.5 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.2777, allocations: 12.03 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.2778, allocations: 42.67 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2778, allocations: 12.89 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.278, allocations: 216.1 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2781, allocations: 4.375 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.2781, allocations: 20.25 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2782, allocations: 100.7 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2783, allocations: 7.938 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2783, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.2783, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.2784, allocations: 51.91 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.2786, allocations: 243.4 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2788, allocations: 107.8 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2789, allocations: 74.69 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2789, allocations: 4 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.2791, allocations: 142.9 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.2791, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0003872/0.2795, allocations: 213.5 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.2796, allocations: 114.8 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2797, allocations: 151.2 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2798, allocations: 37.69 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.2799, allocations: 92.7 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.2799, allocations: 63.52 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.28, allocations: 65.69 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2801, allocations: 330.8 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.2802, allocations: 48.27 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2805, allocations: 182.9 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.2806, allocations: 130.4 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2807, allocations: 0 / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002919/0.2809, allocations: 205.4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.281, allocations: 8 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.281, allocations: 4 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.281, allocations: 0 / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.2811, allocations: 23.92 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2811, allocations: 4 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.2813, allocations: 51.84 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2813, allocations: 4 kB / 1.227 GB, free: 7.293 MB / 0.9825 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.2815, allocations: 140.5 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2815, allocations: 15.91 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.2815, allocations: 12.72 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2815, allocations: 0 / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2815, allocations: 11.94 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2816, allocations: 0 / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2817, allocations: 209.4 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2817, allocations: 3.938 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.2818, allocations: 8 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2818, allocations: 7.984 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2818, allocations: 4 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2818, allocations: 4 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2818, allocations: 0 / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2821, allocations: 212.8 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.2822, allocations: 93 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2822, allocations: 4 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.2823, allocations: 11.94 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2823, allocations: 7.984 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.2823, allocations: 4.141 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.2824, allocations: 112.7 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003204/0.2827, allocations: 107.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007454/0.2835, allocations: 0.848 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.2838, allocations: 217.9 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2838, allocations: 4 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.2839, allocations: 59.91 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.284, allocations: 14.12 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.2859, allocations: 1.826 MB / 1.23 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2862, allocations: 0.7084 MB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.2862, allocations: 12.88 kB / 1.231 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.2863, allocations: 31.44 kB / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2863, allocations: 0 / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3105, allocations: 4.616 MB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.424, allocations: 11.94 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)