Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001735/0.001735, allocations: 114.8 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.002102/0.002102, allocations: 210.3 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002499/0.002499, allocations: 276.2 kB / 309.8 MB, free: 3.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.074/1.074, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002921/0.002921, allocations: 99.84 kB / 0.7346 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4945, allocations: 95.33 MB / 0.8277 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002281/0.4968, allocations: 1.448 MB / 0.8291 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.4975, allocations: 0.5031 MB / 0.8296 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.4976, allocations: 2.906 kB / 0.8296 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.4976, allocations: 5.906 kB / 0.8296 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.4977, allocations: 7.797 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.4984, allocations: 236.5 kB / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.4986, allocations: 145.5 kB / 0.83 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.4986, allocations: 8.125 kB / 0.83 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.4987, allocations: 56.5 kB / 0.8301 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.4987, allocations: 44.02 kB / 0.8301 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4988, allocations: 10.91 kB / 0.8301 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.499, allocations: 170.3 kB / 0.8303 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.4991, allocations: 37.39 kB / 0.8303 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.4991, allocations: 54.2 kB / 0.8304 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.4994, allocations: 233.9 kB / 0.8306 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4994, allocations: 1.5 kB / 0.8306 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4994, allocations: 1.281 kB / 0.8306 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4994, allocations: 0 / 0.8306 GB, free: 1.297 MB / 0.5762 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.0004714/0.4999, allocations: 459.5 kB / 0.831 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.5, allocations: 7.531 kB / 0.8311 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.5, allocations: 2.625 kB / 0.8311 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.015e-05/0.5, allocations: 37.28 kB / 0.8311 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.5, allocations: 13.12 kB / 0.8311 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.5002, allocations: 213.8 kB / 0.8313 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5002, allocations: 7.016 kB / 0.8313 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.5002, allocations: 15.69 kB / 0.8313 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.5004, allocations: 83.42 kB / 0.8314 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5004, allocations: 0 / 0.8314 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5004, allocations: 0.5156 kB / 0.8314 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5004, allocations: 6.266 kB / 0.8314 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.5005, allocations: 44.78 kB / 0.8315 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5007, allocations: 233.3 kB / 0.8317 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.5007, allocations: 70.66 kB / 0.8317 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.5008, allocations: 52.72 kB / 0.8318 GB, free: 204 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.5008, allocations: 4.797 kB / 0.8318 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.501, allocations: 105.5 kB / 0.8319 GB, free: 120 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.501, allocations: 2.625 kB / 0.8319 GB, free: 120 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003205/0.5013, allocations: 187.7 kB / 0.8321 GB, free: 40 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.5014, allocations: 88.55 kB / 0.8322 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5015, allocations: 150 kB / 0.8323 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.5016, allocations: 43.61 kB / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.5017, allocations: 95.69 kB / 0.8324 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.5017, allocations: 38.81 kB / 0.8325 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.5018, allocations: 49.75 kB / 0.8325 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5019, allocations: 332.9 kB / 0.8328 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.502, allocations: 40.36 kB / 0.8329 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.5022, allocations: 197.8 kB / 0.8331 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5024, allocations: 94.42 kB / 0.8332 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5024, allocations: 3.938 kB / 0.8332 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002377/0.5026, allocations: 166 kB / 0.8333 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5026, allocations: 6.297 kB / 0.8333 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.5026, allocations: 3.328 kB / 0.8333 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5027, allocations: 2.719 kB / 0.8333 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.5027, allocations: 11.05 kB / 0.8333 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5027, allocations: 2.938 kB / 0.8334 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.503, allocations: 76.36 kB / 0.8334 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.503, allocations: 8.938 kB / 0.8334 GB, free: 14.97 MB / 0.5919 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.000124/0.5032, allocations: 136.8 kB / 0.8336 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.5032, allocations: 15.48 kB / 0.8336 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.5032, allocations: 12.83 kB / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5032, allocations: 4 kB / 0.8336 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5032, allocations: 3.547 kB / 0.8336 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5032, allocations: 0 / 0.8336 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.5034, allocations: 204.7 kB / 0.8338 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5034, allocations: 0.75 kB / 0.8338 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.5035, allocations: 11.89 kB / 0.8338 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5035, allocations: 0 / 0.8338 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5035, allocations: 5.656 kB / 0.8338 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5035, allocations: 2.062 kB / 0.8338 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5035, allocations: 0.7969 kB / 0.8338 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.5037, allocations: 184.7 kB / 0.834 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.5038, allocations: 91.77 kB / 0.8341 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.5038, allocations: 2.875 kB / 0.8341 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.5038, allocations: 7.359 kB / 0.8341 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5039, allocations: 9.016 kB / 0.8341 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.5039, allocations: 5.078 kB / 0.8341 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.11e-05/0.504, allocations: 110.7 kB / 0.8342 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.504, allocations: 4 kB / 0.8342 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003379/0.5043, allocations: 77.33 kB / 0.8343 GB, free: 14.27 MB / 0.5919 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.0007285/0.505, allocations: 0.7824 MB / 0.835 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.5053, allocations: 163.7 kB / 0.8352 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5053, allocations: 4 kB / 0.8352 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.5054, allocations: 40.42 kB / 0.8352 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5056, allocations: 9.719 kB / 0.8353 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.5076, allocations: 1.701 MB / 0.8369 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5079, allocations: 0.7072 MB / 0.8376 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.508, allocations: 9.094 kB / 0.8376 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.5081, allocations: 26.53 kB / 0.8376 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of SimCode: time 4.9e-07/0.5081, allocations: 1.344 kB / 0.8376 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.5292, allocations: 4.045 MB / 0.8416 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.907, allocations: 9.047 kB / 0.8416 GB, free: 10.84 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.088443799002562] Failed to read output from testmodel.py, exit status != 0: 9.037572524975985 9.062447316 8.55844883 Calling exit ...