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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 193.2 kB / 16.53 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.544/2.544, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 69.22 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002412/0.2583, allocations: 1.472 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2593, allocations: 0.6985 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.2594, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.869e-05/0.2595, allocations: 11.86 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.2595, allocations: 15.88 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.2603, allocations: 339.7 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2606, allocations: 171.6 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.2606, allocations: 7.984 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.2607, allocations: 67.84 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.2608, allocations: 47.81 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.2608, allocations: 16 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.2611, allocations: 251.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.2612, allocations: 39.89 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.2613, allocations: 63.7 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2617, allocations: 295.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2617, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2617, allocations: 4 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2617, allocations: 3.938 kB / 1.067 GB, free: 10.72 MB / 0.8262 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.0005852/0.2623, allocations: 478.9 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2623, allocations: 8.031 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.2624, allocations: 42.73 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.2624, allocations: 16.78 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2626, allocations: 210 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2626, allocations: 4.375 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2627, allocations: 12.38 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2629, allocations: 108.7 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2629, allocations: 3.938 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2629, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2629, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.263, allocations: 51.91 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.2633, allocations: 243.4 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.2634, allocations: 111.9 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.2635, allocations: 70.61 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2635, allocations: 4 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.2638, allocations: 153.7 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.2638, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.000382/0.2642, allocations: 209.5 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.2642, allocations: 106.8 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2644, allocations: 151.1 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.2644, allocations: 33.7 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.2645, allocations: 92.7 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.2645, allocations: 59.34 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.2646, allocations: 61.69 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2648, allocations: 326.8 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.2648, allocations: 56.14 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2651, allocations: 188.4 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2653, allocations: 126.5 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2653, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002878/0.2656, allocations: 201.2 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2656, allocations: 8 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.2656, allocations: 7.984 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2656, allocations: 0 / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.2657, allocations: 16 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2657, allocations: 4 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2659, allocations: 45.48 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2659, allocations: 11.94 kB / 1.071 GB, free: 7.215 MB / 0.8262 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.0001212/0.2661, allocations: 144.1 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2661, allocations: 15.81 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.2661, allocations: 12.72 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2661, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.2662, allocations: 3.984 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2662, allocations: 7.938 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2663, allocations: 205.5 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2663, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.2664, allocations: 15.92 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2664, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2664, allocations: 8 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2664, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2664, allocations: 4 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2667, allocations: 214.5 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.2668, allocations: 88.95 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2668, allocations: 8 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.2669, allocations: 11.94 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2669, allocations: 11.92 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2669, allocations: 8 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.763e-05/0.267, allocations: 112.7 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.267, allocations: 0 / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003034/0.2673, allocations: 99.98 kB / 1.071 GB, free: 6.16 MB / 0.8262 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.0007434/0.2681, allocations: 0.8476 MB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.2684, allocations: 221.4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2684, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.2685, allocations: 59.91 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2686, allocations: 15.88 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2705, allocations: 1.801 MB / 1.074 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2708, allocations: 0.7126 MB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2709, allocations: 21.08 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.2709, allocations: 35.42 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2709, allocations: 0 / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1692/0.4401, allocations: 4.561 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.937/9.377, allocations: 10.11 kB / 1.08 GB, free: 13.86 MB / 0.8419 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)