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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008865/0.0008867, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00517/0.00517, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003187, allocations: 13.75 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2438, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001469/0.2453, allocations: 1.198 MB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2464, allocations: 0.7127 MB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2465, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.844e-05/0.2466, allocations: 11.94 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.2466, allocations: 11.91 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.2475, allocations: 297.2 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.2477, allocations: 155.7 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.2477, allocations: 7.984 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.87e-05/0.2478, allocations: 67.83 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.2479, allocations: 47.83 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.2479, allocations: 11.94 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.2483, allocations: 239.7 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.2484, allocations: 35.89 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.2484, allocations: 85.42 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.2488, allocations: 287.6 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2488, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2488, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2488, allocations: 3.938 kB / 1.062 GB, free: 1.703 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.0005358/0.2494, allocations: 455 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2494, allocations: 11.97 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.2495, allocations: 34.75 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.2495, allocations: 12.84 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.2497, allocations: 217.9 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2497, allocations: 12.36 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2498, allocations: 12.38 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2499, allocations: 96.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.25, allocations: 3.938 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.25, allocations: 0 / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.25, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.2501, allocations: 47.91 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.2503, allocations: 243.3 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2505, allocations: 115.8 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2506, allocations: 78.62 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2506, allocations: 4 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.2508, allocations: 138.5 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.2509, allocations: 0 / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003876/0.2512, allocations: 209.5 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.2513, allocations: 122.7 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2514, allocations: 139.3 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.2515, allocations: 37.7 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2515, allocations: 104.7 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.2516, allocations: 51.34 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2517, allocations: 33.7 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.2518, allocations: 322.8 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.2519, allocations: 52.25 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2521, allocations: 184.5 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2523, allocations: 126.5 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2523, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002954/0.2526, allocations: 205.3 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2526, allocations: 11.94 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.2526, allocations: 7.938 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2526, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.2527, allocations: 19.92 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2527, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.253, allocations: 51.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.253, allocations: 12 kB / 1.065 GB, free: 14.24 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.2531, allocations: 144 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.2532, allocations: 19.8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.2532, allocations: 16.72 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2532, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2532, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2532, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2534, allocations: 213.4 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2534, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.2534, allocations: 8 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2534, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2535, allocations: 11.98 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2535, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2535, allocations: 4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.2538, allocations: 209.7 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.2538, allocations: 92.86 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2538, allocations: 11.98 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.2539, allocations: 11.94 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.254, allocations: 12.12 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.254, allocations: 7.984 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.254, allocations: 109.4 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2541, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003461/0.2544, allocations: 104 kB / 1.066 GB, free: 13.18 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.0006942/0.2551, allocations: 0.8442 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.2554, allocations: 209.2 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2554, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.2555, allocations: 63.91 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.2557, allocations: 20.28 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2575, allocations: 1.826 MB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2577, allocations: 0.7084 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.2578, allocations: 8.891 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2578, allocations: 31.42 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2578, allocations: 3.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.105/2.363, allocations: 4.269 MB / 1.074 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/2.363, allocations: 232.1 kB / 1.074 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/4.115, allocations: 0 / 1.074 GB, free: 4.98 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)