Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001482/0.001482, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001871/0.001871, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.002423/0.002423, allocations: 67.28 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4686, allocations: 176.1 MB / 1.327 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003693/0.4723, allocations: 1.474 MB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4736, allocations: 0.6384 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.4737, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.051e-05/0.4737, allocations: 7.922 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.4738, allocations: 11.88 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.475, allocations: 362.2 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.4753, allocations: 175.7 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.4753, allocations: 12 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4755, allocations: 63.89 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4756, allocations: 63.67 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.4756, allocations: 12 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.4762, allocations: 283.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.4763, allocations: 39.91 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4764, allocations: 51.77 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.477, allocations: 307.3 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.477, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.477, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.477, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 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.0007625/0.4778, allocations: 401.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4778, allocations: 12.03 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.797e-05/0.4778, allocations: 192 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.4779, allocations: 38.75 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.4779, allocations: 12.84 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4782, allocations: 154.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4782, allocations: 8.375 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4782, allocations: 12.38 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4784, allocations: 110.7 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4784, allocations: 3.938 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4784, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.4785, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4786, allocations: 43.97 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.4789, allocations: 206.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.479, allocations: 99.83 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4791, allocations: 66.7 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4792, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.4795, allocations: 138.9 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.4795, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0005199/0.48, allocations: 217.4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.4801, allocations: 114.8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4803, allocations: 141.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.4803, allocations: 33.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4804, allocations: 104.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.4805, allocations: 55.62 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4806, allocations: 57.69 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4807, allocations: 334.8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4808, allocations: 56.25 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.4812, allocations: 465 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4814, allocations: 126.6 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4814, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003276/0.4817, allocations: 197.4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4817, allocations: 7.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.4818, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4818, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.4819, allocations: 16.12 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4819, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4821, allocations: 51.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.4821, allocations: 8 kB / 1.333 GB, free: 10.44 MB / 1.029 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.0001621/0.4823, allocations: 150.5 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.4823, allocations: 7.953 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.4824, allocations: 12.72 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4824, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4824, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4824, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.4826, allocations: 180.5 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4826, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.4826, allocations: 8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4826, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4826, allocations: 7.984 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4826, allocations: 3.938 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4826, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.4829, allocations: 214.6 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.483, allocations: 15.84 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.483, allocations: 11.92 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.483, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.4831, allocations: 11.98 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4831, allocations: 8 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.4832, allocations: 108.9 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4832, allocations: 0 / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003861/0.4836, allocations: 103.8 kB / 1.334 GB, free: 9.516 MB / 1.029 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.0009286/0.4845, allocations: 0.8511 MB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.4849, allocations: 213.2 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4849, allocations: 0 / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.485, allocations: 55.92 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4852, allocations: 11.94 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4875, allocations: 1.824 MB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4876, allocations: 96.48 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.4876, allocations: 16.95 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.4877, allocations: 35.42 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4877, allocations: 0 / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.5154, allocations: 4.963 MB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.98, allocations: 7.516 kB / 1.342 GB, free: 1.484 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.382815168006346] Failed to read output from testmodel.py, exit status != 0: 12.142841320019215 12.159892461 11.679411671 Calling exit ...