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.001357/0.001357, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001513/0.001513, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.793 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.002504/0.002504, allocations: 301.5 kB / 312.7 MB, free: 2.598 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.212/1.212, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",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.002962/0.002962, allocations: 101.8 kB / 0.7395 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1726, allocations: 95.37 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002641/0.1753, allocations: 1.428 MB / 0.834 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.1762, allocations: 472 kB / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.1763, allocations: 0 / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.203e-05/0.1763, allocations: 7.938 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.1764, allocations: 11.92 kB / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.1772, allocations: 249.2 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1774, allocations: 135.8 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.1774, allocations: 11.95 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.1775, allocations: 55.89 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.1776, allocations: 47.77 kB / 0.835 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1776, allocations: 8 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1779, allocations: 187.8 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.178, allocations: 31.91 kB / 0.8352 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.1781, allocations: 55.77 kB / 0.8352 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1784, allocations: 235.5 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1784, allocations: 0 / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1784, allocations: 0 / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1784, allocations: 0 / 0.8354 GB, free: 5.441 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.0005602/0.179, allocations: 369.6 kB / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.179, allocations: 9.938 kB / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.1791, allocations: 42.73 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1791, allocations: 16.89 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1794, allocations: 156.6 kB / 0.836 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1794, allocations: 8.312 kB / 0.836 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1794, allocations: 16.38 kB / 0.836 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1796, allocations: 79.95 kB / 0.8361 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1796, allocations: 3.938 kB / 0.8361 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1796, allocations: 3.984 kB / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1796, allocations: 0 / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.1797, allocations: 43.91 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.1799, allocations: 181.6 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.18, allocations: 77.25 kB / 0.8364 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.1801, allocations: 49.75 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1801, allocations: 0 / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.1803, allocations: 119.9 kB / 0.8366 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1803, allocations: 0 / 0.8366 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003583/0.1807, allocations: 185.5 kB / 0.8368 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1808, allocations: 85.11 kB / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1809, allocations: 153.5 kB / 0.837 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1809, allocations: 33.7 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.181, allocations: 108.5 kB / 0.8371 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.1811, allocations: 35.73 kB / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.1811, allocations: 57.62 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1813, allocations: 330.8 kB / 0.8375 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.1813, allocations: 35.98 kB / 0.8376 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.1818, allocations: 0.6002 MB / 0.8381 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1819, allocations: 93.64 kB / 0.8382 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1819, allocations: 0 / 0.8382 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002441/0.1822, allocations: 173.4 kB / 0.8384 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1822, allocations: 8 kB / 0.8384 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1822, allocations: 0 / 0.8384 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1822, allocations: 8 kB / 0.8384 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.1823, allocations: 11.92 kB / 0.8384 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1823, allocations: 4 kB / 0.8384 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1826, allocations: 74.39 kB / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1826, allocations: 4.625 kB / 0.8385 GB, free: 1.93 MB / 0.5762 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.0001226/0.1827, allocations: 142.4 kB / 0.8386 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1827, allocations: 11.89 kB / 0.8386 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.1828, allocations: 12.72 kB / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1828, allocations: 0 / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1828, allocations: 0 / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1828, allocations: 0 / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1829, allocations: 168.6 kB / 0.8388 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1829, allocations: 0 / 0.8388 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.183, allocations: 11.94 kB / 0.8388 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.183, allocations: 7.938 kB / 0.8388 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.183, allocations: 4 kB / 0.8388 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.183, allocations: 0 / 0.8388 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.183, allocations: 96 / 0.8388 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1832, allocations: 185.8 kB / 0.839 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.1832, allocations: 11.91 kB / 0.839 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1833, allocations: 3.984 kB / 0.839 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.1833, allocations: 8 kB / 0.839 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1833, allocations: 7.984 kB / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1833, allocations: 0 / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.1834, allocations: 118 kB / 0.8392 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1834, allocations: 3.938 kB / 0.8392 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002964/0.1837, allocations: 79.81 kB / 0.8392 GB, free: 1.09 MB / 0.5762 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.0006565/0.1844, allocations: 0.7771 MB / 0.84 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1846, allocations: 159.3 kB / 0.8402 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1846, allocations: 0 / 0.8402 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.1847, allocations: 39.92 kB / 0.8402 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1849, allocations: 8 kB / 0.8402 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1866, allocations: 1.71 MB / 0.8419 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.193e-05/0.1867, allocations: 92.98 kB / 0.842 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.1868, allocations: 8.672 kB / 0.842 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1868, allocations: 27.42 kB / 0.842 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.1868, allocations: 0 / 0.842 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.2219, allocations: 4.712 MB / 0.8466 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 12.66 kB / 0.8466 GB, free: 9.582 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.473524393048137] Failed to read output from testmodel.py, exit status != 0: 11.389750716276467 11.407702289 11.225910998 Calling exit ...