Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 190.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.1 MB, free: 4.93 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 70.09 kB / 0.6711 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.172, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002303/0.1743, allocations: 1.471 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.1751, allocations: 0.4993 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1751, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.84e-05/0.1752, allocations: 11.86 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.1752, allocations: 11.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.1758, allocations: 207.6 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.176, allocations: 143.8 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1761, allocations: 11.97 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.1761, allocations: 59.89 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.1762, allocations: 43.84 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1762, allocations: 8 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1765, allocations: 171.8 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1765, allocations: 39.89 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1766, allocations: 51.73 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1769, allocations: 235.7 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1769, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1769, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1769, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 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.0004811/0.1774, allocations: 451 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1774, allocations: 8.031 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.1774, allocations: 38.73 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1775, allocations: 16.75 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1777, allocations: 204.2 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1777, allocations: 4.375 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1777, allocations: 16.38 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1779, allocations: 83.89 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1779, allocations: 7.875 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1779, allocations: 7.984 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.1779, allocations: 0 / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.178, allocations: 35.98 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.1782, allocations: 234.4 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.1783, allocations: 85.19 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.1784, allocations: 49.81 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1784, allocations: 4 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.1785, allocations: 116.3 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.886e-06/0.1786, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0002916/0.1788, allocations: 181.5 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1789, allocations: 89.05 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.179, allocations: 153.8 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1791, allocations: 33.7 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1791, allocations: 100.5 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1792, allocations: 35.47 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.1792, allocations: 49.69 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.1793, allocations: 330.8 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.1794, allocations: 43.98 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1796, allocations: 191.4 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1797, allocations: 101.6 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1797, allocations: 0 / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002061/0.1799, allocations: 173.3 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1799, allocations: 4 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.18, allocations: 4 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.18, allocations: 0 / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.18, allocations: 8 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1801, allocations: 0 / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.1803, allocations: 79.75 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1803, allocations: 7.984 kB / 0.7887 GB, free: 7.617 MB / 0.6075 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 9.815e-05/0.1804, allocations: 141.8 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1805, allocations: 15.75 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.1805, allocations: 16.7 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1805, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1805, allocations: 4 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1805, allocations: 0 / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1806, allocations: 193.6 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1807, allocations: 4 kB / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1807, allocations: 8 kB / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1807, allocations: 0 / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1807, allocations: 4 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1807, allocations: 4 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1807, allocations: 0 / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1809, allocations: 181.7 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.181, allocations: 92.86 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.181, allocations: 7.984 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.181, allocations: 8 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1811, allocations: 7.984 kB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1811, allocations: 4 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.1811, allocations: 117.8 kB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1812, allocations: 0 / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002577/0.1814, allocations: 68 kB / 0.7895 GB, free: 6.656 MB / 0.6075 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.0005153/0.1819, allocations: 0.7862 MB / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1822, allocations: 163.5 kB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1822, allocations: 0 / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.1822, allocations: 43.98 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1824, allocations: 8 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1838, allocations: 1.734 MB / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.184, allocations: 0.7041 MB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.184, allocations: 12.66 kB / 0.7929 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1841, allocations: 35.42 kB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1841, allocations: 0 / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/1.45, allocations: 3.813 MB / 0.7966 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/1.45, allocations: 202.1 kB / 0.7968 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/3.105, allocations: 0 / 0.7968 GB, free: 15.09 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)