Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001472/0.001472, 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.001996/0.001996, allocations: 223.3 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.458/3.458, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_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.002116/0.002116, allocations: 64.53 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4131, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003073/0.4161, allocations: 1.487 MB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4175, allocations: 0.6228 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.4175, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.4176, allocations: 7.922 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.4177, allocations: 11.88 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4188, allocations: 364.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.419, allocations: 175.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.4191, allocations: 12 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.4192, allocations: 75.77 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4193, allocations: 51.81 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.4193, allocations: 12 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.4198, allocations: 283.7 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.4199, allocations: 47.83 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.42, allocations: 47.78 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.4204, allocations: 303.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4204, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4204, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.4204, allocations: 0 / 1.33 GB, free: 14.05 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.000813/0.4213, allocations: 409.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 8.171e-05/0.4213, allocations: 12.03 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.51e-05/0.4214, allocations: 4.125 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.4214, allocations: 38.75 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.4215, allocations: 12.84 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.4218, allocations: 154.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4218, allocations: 12.38 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.4218, allocations: 12.38 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.4221, allocations: 106.4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4221, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4221, allocations: 3.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4221, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4222, allocations: 47.92 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.4225, allocations: 198.5 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4227, allocations: 99.83 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4228, allocations: 62.7 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4228, allocations: 11.98 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.4232, allocations: 137.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.4232, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004954/0.4237, allocations: 218.1 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4238, allocations: 118.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4239, allocations: 137.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.424, allocations: 41.69 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4241, allocations: 96.64 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-05/0.4242, allocations: 55.62 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4243, allocations: 57.69 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4245, allocations: 326.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.4246, allocations: 56.25 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.425, allocations: 463.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.4252, allocations: 138.5 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4253, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003488/0.4256, allocations: 201.4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4256, allocations: 5.875 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.4257, allocations: 7.938 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.4257, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4258, allocations: 15.98 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4258, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.426, allocations: 55.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.4261, allocations: 8 kB / 1.333 GB, free: 10.4 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.0001712/0.4262, allocations: 144.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.4263, allocations: 11.95 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.4263, allocations: 12.72 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4263, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4263, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4263, allocations: 3.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4265, allocations: 172.6 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4265, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.4266, allocations: 19.92 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4266, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4266, allocations: 4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4266, allocations: 0 / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4266, allocations: 0 / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.4269, allocations: 215.9 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.4269, allocations: 19.83 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.427, allocations: 3.938 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.427, allocations: 4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.4271, allocations: 19.92 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4271, allocations: 4 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.4272, allocations: 107.2 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4272, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004074/0.4276, allocations: 103.8 kB / 1.334 GB, free: 9.484 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.0009078/0.4285, allocations: 0.8579 MB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4289, allocations: 209 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4289, allocations: 0 / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.429, allocations: 47.92 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4292, allocations: 15.94 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4315, allocations: 1.823 MB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.475e-05/0.4316, allocations: 92.48 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.4317, allocations: 12.97 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.4317, allocations: 39.42 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.4317, allocations: 3.938 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4595, allocations: 4.962 MB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 2.188 kB / 1.342 GB, free: 1.461 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.685957869980484] Failed to read output from testmodel.py, exit status != 0: 12.200862431898713 12.21851449 11.794337972 Calling exit ...