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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001079/0.001079, 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.001085/0.001085, allocations: 198 kB / 16.54 MB, free: 6.672 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.49/2.49, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.36 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2299, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002378/0.2323, allocations: 1.487 MB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2333, allocations: 0.6889 MB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.2334, allocations: 4 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.2335, allocations: 3.938 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.2335, allocations: 19.84 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.2344, allocations: 342.2 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.2346, allocations: 179.6 kB / 1.056 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.2346, allocations: 7.984 kB / 1.056 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.2347, allocations: 75.77 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.2348, allocations: 47.81 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.2348, allocations: 12 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.2352, allocations: 251.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.2352, allocations: 39.91 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.2353, allocations: 63.7 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.2357, allocations: 299.6 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.809 MB / 0.8106 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.0005485/0.2363, allocations: 478.8 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2363, allocations: 8.625 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.2363, allocations: 42.73 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.2364, allocations: 16.75 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2366, allocations: 208.1 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2366, allocations: 8.375 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2366, allocations: 12.38 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2368, allocations: 98.52 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2368, allocations: 3.938 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2368, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2368, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.2369, allocations: 47.91 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.2372, allocations: 255.3 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2373, allocations: 103.8 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.2374, allocations: 74.69 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2374, allocations: 7.938 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.2376, allocations: 141.8 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.2376, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003668/0.238, allocations: 213.4 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.2381, allocations: 122.7 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2382, allocations: 143.3 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.2383, allocations: 41.69 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2383, allocations: 92.7 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.2384, allocations: 51.36 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.2385, allocations: 61.69 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2386, allocations: 326.8 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.2387, allocations: 48.25 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2389, allocations: 188.5 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.239, allocations: 130.5 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2391, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002817/0.2393, allocations: 210 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2394, allocations: 7.938 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.2394, allocations: 4 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2394, allocations: 4 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.2395, allocations: 15.92 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2395, allocations: 4 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2397, allocations: 43.8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2397, allocations: 12 kB / 1.059 GB, free: 1.301 MB / 0.8106 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.0001066/0.2399, allocations: 144 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.2399, allocations: 15.81 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.2399, allocations: 12.72 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2399, allocations: 4 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2399, allocations: 0 / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2399, allocations: 0 / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2401, allocations: 209.5 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2401, allocations: 4 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.2402, allocations: 8 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2402, allocations: 4 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2402, allocations: 11.98 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2402, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2402, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.2405, allocations: 220.6 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2405, allocations: 93.08 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2405, allocations: 8 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.2406, allocations: 11.92 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2406, allocations: 11.98 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2407, allocations: 4 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.2407, allocations: 108.2 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2407, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003153/0.241, allocations: 99.98 kB / 1.06 GB, free: 260 kB / 0.8106 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.0006559/0.2417, allocations: 0.8482 MB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.242, allocations: 224.9 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.242, allocations: 0 / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.2421, allocations: 55.92 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2423, allocations: 14.66 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2439, allocations: 1.806 MB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2442, allocations: 0.7122 MB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.2442, allocations: 16.81 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.2443, allocations: 39.36 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2443, allocations: 0 / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6679/0.9122, allocations: 4.573 MB / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.244, allocations: 14.16 kB / 1.068 GB, free: 7.934 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)