Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001894/0.001894, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002613/0.002613, allocations: 215 kB / 20.13 MB, free: 2.949 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.766/1.766, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.176/3.176, allocations: 0.5003 GB / 0.8026 GB, free: 6.758 MB / 0.6387 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.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.003568/0.003568, allocations: 67.91 kB / 1.165 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38/1.384, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003136/1.387, allocations: 1.431 MB / 1.342 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/1.388, allocations: 0.4888 MB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/1.388, allocations: 1.031 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.505e-05/1.388, allocations: 7.328 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/1.388, allocations: 11.98 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/1.389, allocations: 235 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/1.389, allocations: 146.5 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/1.389, allocations: 6.844 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/1.39, allocations: 58.67 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/1.39, allocations: 41.22 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/1.39, allocations: 9.781 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/1.39, allocations: 171.5 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/1.39, allocations: 38.33 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/1.39, allocations: 53.33 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/1.391, allocations: 232.3 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.391, allocations: 0 / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.391, allocations: 1.344 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.391, allocations: 4 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006676/1.391, allocations: 451 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.391, allocations: 8.969 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/1.391, allocations: 6.016 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/1.391, allocations: 42.31 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/1.392, allocations: 12.78 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/1.392, allocations: 209.8 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.392, allocations: 9.781 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/1.392, allocations: 13.88 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.392, allocations: 88.05 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.392, allocations: 0 / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/1.392, allocations: 13 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.392, allocations: 1.969 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/1.392, allocations: 35.7 kB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/1.392, allocations: 224.8 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.393, allocations: 84.61 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/1.393, allocations: 47.64 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/1.393, allocations: 1.938 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/1.393, allocations: 119.9 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/1.393, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0004158/1.393, allocations: 185.1 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/1.393, allocations: 91.84 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.394, allocations: 155.2 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/1.394, allocations: 33.83 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/1.394, allocations: 101.4 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/1.394, allocations: 36.53 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/1.394, allocations: 53.16 kB / 1.345 GB, free: 12.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/1.394, allocations: 323.8 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/1.394, allocations: 41.2 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/1.394, allocations: 195.7 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/1.394, allocations: 101.7 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.394, allocations: 0 / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002655/1.395, allocations: 169.2 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.395, allocations: 5.031 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.395, allocations: 2.266 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.395, allocations: 5.953 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/1.395, allocations: 12.3 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.395, allocations: 2.094 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/1.395, allocations: 74.69 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/1.395, allocations: 7.938 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001182/1.395, allocations: 138 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/1.395, allocations: 14.12 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/1.395, allocations: 13.05 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.395, allocations: 1.312 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.395, allocations: 1.875 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.395, allocations: 1.219 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/1.396, allocations: 197.7 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.396, allocations: 4 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/1.396, allocations: 6.875 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.396, allocations: 0.6875 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.396, allocations: 2.969 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.396, allocations: 2.281 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.396, allocations: 0 / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/1.396, allocations: 188.9 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/1.396, allocations: 92.59 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/1.396, allocations: 10.09 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/1.396, allocations: 3.594 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/1.396, allocations: 5.406 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.396, allocations: 7.125 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.381e-05/1.396, allocations: 114.2 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.396, allocations: 0 / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004698/1.397, allocations: 71.44 kB / 1.347 GB, free: 11.58 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00075/1.397, allocations: 0.7901 MB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003342/1.398, allocations: 154.3 kB / 1.348 GB, free: 10.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.398, allocations: 0 / 1.348 GB, free: 10.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/1.398, allocations: 40.91 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/1.398, allocations: 11.28 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/1.401, allocations: 1.721 MB / 1.349 GB, free: 9.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/1.401, allocations: 0.7045 MB / 1.35 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001119/1.401, allocations: 8.922 kB / 1.35 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/1.401, allocations: 28.25 kB / 1.35 GB, free: 8.734 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.401, allocations: 4 kB / 1.35 GB, free: 8.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/1.434, allocations: 4.036 MB / 1.354 GB, free: 8.113 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.718/10.15, allocations: 3.969 kB / 1.354 GB, free: 8.113 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.6464301639935] Failed to read output from testmodel.py, exit status != 0: 10.285546758037526 10.306013439 8.910607912 Calling exit ...