Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 213.9 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.633/3.633, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 66.2 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4475, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00369/0.4511, allocations: 1.489 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.4524, allocations: 0.619 MB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.4525, allocations: 7.938 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.835e-05/0.4526, allocations: 7.922 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.4527, allocations: 19.86 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.4538, allocations: 358.2 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.454, allocations: 171.6 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.4541, allocations: 4 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.4542, allocations: 71.83 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.4543, allocations: 47.81 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.4543, allocations: 12 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.4548, allocations: 295.6 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.4549, allocations: 39.89 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.455, allocations: 47.78 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.4555, allocations: 319.3 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4555, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4555, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4555, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 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.0007485/0.4562, allocations: 402.2 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4563, allocations: 8.031 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.602e-05/0.4563, allocations: 8.188 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.4564, allocations: 38.73 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.4564, allocations: 12.89 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.4567, allocations: 168.2 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4567, allocations: 4.375 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.4567, allocations: 12.38 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.457, allocations: 104.5 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.457, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.457, allocations: 4 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.457, allocations: 4 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.4571, allocations: 39.97 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.4574, allocations: 198.5 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.4576, allocations: 103.9 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4577, allocations: 62.56 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4577, allocations: 4 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.458, allocations: 134.8 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.4581, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0004513/0.4585, allocations: 221.4 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.4586, allocations: 110.8 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4587, allocations: 155.3 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.4588, allocations: 41.69 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.4588, allocations: 92.64 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.4589, allocations: 59.58 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.459, allocations: 61.69 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4592, allocations: 330.8 kB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.4593, allocations: 48.27 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4597, allocations: 467.2 kB / 1.351 GB, free: 9.266 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4599, allocations: 126.5 kB / 1.352 GB, free: 9.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4599, allocations: 3.938 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003111/0.4602, allocations: 197.4 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4602, allocations: 12 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.4602, allocations: 7.984 kB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4602, allocations: 0 / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4603, allocations: 19.94 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4604, allocations: 0 / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.4606, allocations: 55.09 kB / 1.352 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4606, allocations: 4 kB / 1.352 GB, free: 8.836 MB / 1.045 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.0001502/0.4607, allocations: 152.5 kB / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4608, allocations: 15.91 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.4608, allocations: 12.72 kB / 1.352 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4608, allocations: 3.984 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4608, allocations: 4 kB / 1.352 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4608, allocations: 0 / 1.352 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.461, allocations: 172.5 kB / 1.352 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.461, allocations: 0 / 1.352 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.4611, allocations: 11.98 kB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4611, allocations: 4 kB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4611, allocations: 0 / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4611, allocations: 4 kB / 1.352 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4611, allocations: 7.938 kB / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.4614, allocations: 213.1 kB / 1.352 GB, free: 8.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.4614, allocations: 15.84 kB / 1.352 GB, free: 8.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4614, allocations: 7.938 kB / 1.352 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.4615, allocations: 8 kB / 1.352 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.4615, allocations: 7.984 kB / 1.352 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.4615, allocations: 7.984 kB / 1.352 GB, free: 8.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.4616, allocations: 104.8 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4616, allocations: 0 / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003851/0.462, allocations: 103.8 kB / 1.353 GB, free: 7.922 MB / 1.045 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.0009525/0.463, allocations: 0.8598 MB / 1.353 GB, free: 7.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.4633, allocations: 208.9 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4633, allocations: 4 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.4634, allocations: 47.92 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.4636, allocations: 13.06 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.466, allocations: 1.822 MB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4662, allocations: 104.5 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.4662, allocations: 13.25 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.4663, allocations: 31.42 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.4663, allocations: 0 / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.4931, allocations: 4.96 MB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.42, allocations: 4.062 kB / 1.361 GB, free: 15.88 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.07747101096902] Failed to read output from testmodel.py, exit status != 0: 12.582012761966325 12.597140096 12.138303691 Calling exit ...