Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_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.004886/0.004886, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001349/0.001349, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.514/2.514, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 67.53 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2624, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002389/0.2648, allocations: 1.486 MB / 1.243 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2659, allocations: 0.6905 MB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.2659, allocations: 0 / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.573e-05/0.266, allocations: 11.86 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.2661, allocations: 19.84 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008876/0.2669, allocations: 346.1 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2672, allocations: 167.7 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.2672, allocations: 4 kB / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.2673, allocations: 75.75 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.2674, allocations: 51.77 kB / 1.245 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.2674, allocations: 12 kB / 1.245 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2678, allocations: 247.8 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.2679, allocations: 43.89 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.2679, allocations: 59.72 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2683, allocations: 303.4 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2683, allocations: 0 / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2683, allocations: 3.938 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2683, allocations: 0 / 1.245 GB, free: 5.426 MB / 0.9669 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.0005717/0.2689, allocations: 486.4 kB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.269, allocations: 8.031 kB / 1.246 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.269, allocations: 46.67 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.2691, allocations: 16.89 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2693, allocations: 214 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2693, allocations: 8.375 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2693, allocations: 12.38 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2695, allocations: 100.7 kB / 1.246 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2695, allocations: 3.938 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.2695, allocations: 0 / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2695, allocations: 0 / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.2696, allocations: 55.91 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.2699, allocations: 243.4 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.27, allocations: 107.8 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.2701, allocations: 74.7 kB / 1.247 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-06/0.2701, allocations: 0 / 1.247 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.2703, allocations: 141.8 kB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.2704, allocations: 0 / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0004008/0.2708, allocations: 214.2 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.2708, allocations: 118.8 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.271, allocations: 143.2 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.271, allocations: 41.69 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2711, allocations: 92.7 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.2711, allocations: 59.58 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.2712, allocations: 61.69 kB / 1.247 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2714, allocations: 330.8 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.2714, allocations: 52.27 kB / 1.248 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2717, allocations: 180.5 kB / 1.248 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.2718, allocations: 134.5 kB / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2719, allocations: 0 / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002838/0.2721, allocations: 201.4 kB / 1.248 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2722, allocations: 4 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.2722, allocations: 4 kB / 1.248 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2722, allocations: 4 kB / 1.248 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.2723, allocations: 11.98 kB / 1.248 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2723, allocations: 4.234 kB / 1.248 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2725, allocations: 47.84 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2725, allocations: 12 kB / 1.248 GB, free: 1.91 MB / 0.9669 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.0001169/0.2726, allocations: 144.4 kB / 1.248 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.2727, allocations: 23.84 kB / 1.248 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.2727, allocations: 8.719 kB / 1.248 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2727, allocations: 4 kB / 1.248 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2727, allocations: 0 / 1.248 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2727, allocations: 144 / 1.248 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2729, allocations: 213.5 kB / 1.249 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2729, allocations: 8 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.273, allocations: 15.92 kB / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.273, allocations: 0 / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.273, allocations: 8 kB / 1.249 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.273, allocations: 3.984 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.273, allocations: 0 / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2733, allocations: 210.7 kB / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.2733, allocations: 100.9 kB / 1.249 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2734, allocations: 4 kB / 1.249 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.2734, allocations: 7.938 kB / 1.249 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2735, allocations: 15.92 kB / 1.249 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2735, allocations: 4 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.2735, allocations: 113.2 kB / 1.249 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 1.249 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003005/0.2739, allocations: 99.8 kB / 1.249 GB, free: 0.8477 MB / 0.9669 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.0007177/0.2746, allocations: 0.8388 MB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.2749, allocations: 220.9 kB / 1.25 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2749, allocations: 0 / 1.25 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.275, allocations: 59.92 kB / 1.25 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.2751, allocations: 11.94 kB / 1.25 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2769, allocations: 1.829 MB / 1.252 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2772, allocations: 0.7162 MB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.2773, allocations: 12.88 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.2773, allocations: 31.42 kB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2773, allocations: 0 / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.877/3.154, allocations: 4.621 MB / 1.257 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/13.05, allocations: 4.5 kB / 1.257 GB, free: 8.508 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)