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.001344/0.001344, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001536/0.001536, allocations: 216 kB / 23.04 MB, free: 5.078 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002541/0.002541, allocations: 290.6 kB / 313.5 MB, free: 2.914 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.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 12.83 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="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.002843/0.002843, allocations: 95.09 kB / 0.7403 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1736, allocations: 95.39 MB / 0.8335 GB, free: 8.66 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002581/0.1762, allocations: 1.439 MB / 0.8349 GB, free: 7.207 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.1771, allocations: 0.5038 MB / 0.8354 GB, free: 6.703 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.1771, allocations: 0 / 0.8354 GB, free: 6.703 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 6.733e-05/0.1772, allocations: 7.922 kB / 0.8354 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.1773, allocations: 15.86 kB / 0.8354 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.178, allocations: 237.4 kB / 0.8356 GB, free: 6.449 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1782, allocations: 155.7 kB / 0.8358 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1783, allocations: 4 kB / 0.8358 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.1783, allocations: 59.91 kB / 0.8358 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.1784, allocations: 43.81 kB / 0.8359 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1785, allocations: 15.94 kB / 0.8359 GB, free: 6.176 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1788, allocations: 187.8 kB / 0.8361 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1788, allocations: 43.89 kB / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.1789, allocations: 47.8 kB / 0.8362 GB, free: 5.902 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1792, allocations: 235.5 kB / 0.8364 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.1792, allocations: 4 kB / 0.8364 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1793, allocations: 3.938 kB / 0.8364 GB, free: 5.664 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1793, allocations: 4 kB / 0.8364 GB, free: 5.66 MB / 0.5763 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.0005443/0.1798, allocations: 369.6 kB / 0.8367 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1798, allocations: 13.34 kB / 0.8368 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.1799, allocations: 192 / 0.8368 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.1799, allocations: 38.75 kB / 0.8368 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1799, allocations: 12.88 kB / 0.8368 GB, free: 5.195 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1802, allocations: 156.9 kB / 0.837 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1802, allocations: 8.375 kB / 0.837 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1802, allocations: 12.38 kB / 0.837 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1804, allocations: 83.7 kB / 0.8371 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1804, allocations: 0 / 0.8371 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1804, allocations: 0 / 0.8371 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1804, allocations: 4 kB / 0.8371 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.1805, allocations: 39.91 kB / 0.8371 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.1807, allocations: 201.6 kB / 0.8373 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1808, allocations: 81.23 kB / 0.8374 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.727e-05/0.1809, allocations: 45.81 kB / 0.8374 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1809, allocations: 3.938 kB / 0.8374 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1811, allocations: 125.7 kB / 0.8375 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1811, allocations: 0 / 0.8375 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of matching and sorting (n=14): time 0.0003473/0.1815, allocations: 178 kB / 0.8377 GB, free: 4.148 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1815, allocations: 93.08 kB / 0.8378 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1817, allocations: 153.5 kB / 0.8379 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1817, allocations: 33.7 kB / 0.838 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.1818, allocations: 100.5 kB / 0.8381 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1818, allocations: 35.73 kB / 0.8381 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.1819, allocations: 57.64 kB / 0.8382 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1821, allocations: 322.8 kB / 0.8385 GB, free: 3.312 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1821, allocations: 43.97 kB / 0.8385 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1824, allocations: 208.6 kB / 0.8387 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1825, allocations: 97.58 kB / 0.8388 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1825, allocations: 0 / 0.8388 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002387/0.1827, allocations: 165.4 kB / 0.839 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1828, allocations: 8 kB / 0.839 GB, free: 2.738 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.1828, allocations: 3.938 kB / 0.839 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1828, allocations: 4 kB / 0.839 GB, free: 2.73 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.1829, allocations: 15.92 kB / 0.839 GB, free: 2.715 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1829, allocations: 4.156 kB / 0.839 GB, free: 2.711 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1831, allocations: 67.86 kB / 0.839 GB, free: 2.645 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1832, allocations: 8 kB / 0.8391 GB, free: 2.637 MB / 0.5763 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.0001321/0.1833, allocations: 154.4 kB / 0.8392 GB, free: 2.477 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.1833, allocations: 11.91 kB / 0.8392 GB, free: 2.465 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.1833, allocations: 12.72 kB / 0.8392 GB, free: 2.445 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1833, allocations: 4 kB / 0.8392 GB, free: 2.441 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1833, allocations: 0 / 0.8392 GB, free: 2.441 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.1834, allocations: 3.984 kB / 0.8392 GB, free: 2.438 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1835, allocations: 160.7 kB / 0.8394 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1835, allocations: 0 / 0.8394 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1835, allocations: 11.94 kB / 0.8394 GB, free: 2.227 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1835, allocations: 4 kB / 0.8394 GB, free: 2.223 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1836, allocations: 7.984 kB / 0.8394 GB, free: 2.215 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1836, allocations: 3.984 kB / 0.8394 GB, free: 2.211 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1836, allocations: 0 / 0.8394 GB, free: 2.211 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1838, allocations: 184 kB / 0.8396 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.1838, allocations: 7.953 kB / 0.8396 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1838, allocations: 4 kB / 0.8396 GB, free: 2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.1839, allocations: 4 kB / 0.8396 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1839, allocations: 11.98 kB / 0.8396 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1839, allocations: 0 / 0.8396 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.184, allocations: 113.8 kB / 0.8397 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.184, allocations: 0 / 0.8397 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003176/0.1843, allocations: 83.73 kB / 0.8398 GB, free: 1.793 MB / 0.5763 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.0006747/0.185, allocations: 0.7887 MB / 0.8406 GB, free: 0.9727 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.1852, allocations: 155.3 kB / 0.8407 GB, free: 0.8086 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1852, allocations: 0 / 0.8407 GB, free: 0.8086 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.1853, allocations: 39.92 kB / 0.8408 GB, free: 0.7695 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.1855, allocations: 8 kB / 0.8408 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1873, allocations: 1.704 MB / 0.8424 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1876, allocations: 0.7079 MB / 0.8431 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.1876, allocations: 4.672 kB / 0.8431 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1877, allocations: 35.42 kB / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.1877, allocations: 0 / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.2121, allocations: 4.185 MB / 0.8472 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 10.25 kB / 0.8473 GB, free: 10.18 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.670324073988013] Failed to read output from testmodel.py, exit status != 0: 11.66597085900139 11.693692419 11.509586453 Calling exit ...