Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001866/0.001866, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002612/0.002612, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.685/1.685, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_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.002089/0.002089, allocations: 66.58 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002686/0.3605, allocations: 1.519 MB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3618, allocations: 0.6986 MB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.3619, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.3619, allocations: 11.86 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.362, allocations: 15.86 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3631, allocations: 364.8 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3633, allocations: 175.6 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.3634, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.3635, allocations: 75.83 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3636, allocations: 47.81 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3636, allocations: 15.94 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.3641, allocations: 291.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.3641, allocations: 47.89 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.3642, allocations: 59.72 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3647, allocations: 306.6 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3647, allocations: 3.938 kB / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3647, allocations: 0 / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3647, allocations: 0 / 1.288 GB, free: 8.188 MB / 0.9825 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.0006933/0.3654, allocations: 401.3 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3654, allocations: 12.03 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.479e-05/0.3654, allocations: 4.188 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.3655, allocations: 42.73 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.3655, allocations: 16.84 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3658, allocations: 150.3 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3658, allocations: 4.375 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.3658, allocations: 16.36 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.366, allocations: 96.55 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.366, allocations: 4 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.366, allocations: 4 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.366, allocations: 0 / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3661, allocations: 51.91 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.3664, allocations: 214.4 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3665, allocations: 103.9 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3666, allocations: 70.66 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3666, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.3669, allocations: 137.8 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.725e-06/0.3669, allocations: 7.984 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004191/0.3674, allocations: 217.4 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3674, allocations: 118.7 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3676, allocations: 148.2 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.3676, allocations: 33.7 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.3677, allocations: 100.6 kB / 1.29 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.3677, allocations: 51.62 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.3678, allocations: 61.69 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.368, allocations: 330.8 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.3681, allocations: 52.25 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3683, allocations: 176.5 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3685, allocations: 134.5 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3685, allocations: 3.938 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003144/0.3689, allocations: 201.4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3689, allocations: 8 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.3689, allocations: 4 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3689, allocations: 0 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.369, allocations: 15.94 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.369, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3692, allocations: 59.72 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3693, allocations: 8.938 kB / 1.291 GB, free: 4.879 MB / 0.9825 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.0001394/0.3694, allocations: 144.3 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3694, allocations: 11.95 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3695, allocations: 20.7 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3695, allocations: 3.938 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3695, allocations: 0 / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3695, allocations: 8 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3697, allocations: 176.6 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3697, allocations: 0 / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.3697, allocations: 8 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3697, allocations: 0 / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3697, allocations: 4 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3697, allocations: 0 / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3697, allocations: 4 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.37, allocations: 214.6 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3701, allocations: 15.84 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3701, allocations: 11.94 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.3701, allocations: 7.984 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3702, allocations: 11.98 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3702, allocations: 4 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.3703, allocations: 105.6 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3703, allocations: 4 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003607/0.3706, allocations: 103.7 kB / 1.291 GB, free: 3.957 MB / 0.9825 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.0008445/0.3715, allocations: 0.8538 MB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3718, allocations: 221.1 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3718, allocations: 0 / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.3719, allocations: 43.92 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3721, allocations: 19.86 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3742, allocations: 1.818 MB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3746, allocations: 0.7084 MB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.3746, allocations: 8.984 kB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3747, allocations: 31.42 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3747, allocations: 4 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.4015, allocations: 4.84 MB / 1.3 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 11.81 kB / 1.3 GB, free: 11.4 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.406507288047578] Failed to read output from testmodel.py, exit status != 0: 12.838232282025274 12.243261642 11.873661136 Calling exit ...