Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",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.0006794/0.0006793, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.003982/0.003982, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004895/0.0004895, allocations: 16.84 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1762, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001211/0.1774, allocations: 1.069 MB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006314/0.1781, allocations: 365 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1781, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.062e-05/0.1782, allocations: 7.922 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.292e-05/0.1782, allocations: 3.984 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1785, allocations: 67.86 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.1786, allocations: 47.8 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1786, allocations: 4 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1787, allocations: 23.97 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.1787, allocations: 15.92 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1787, allocations: 4 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1789, allocations: 75.91 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1789, allocations: 23.92 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.179, allocations: 81.38 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1792, allocations: 151.8 kB / 0.7899 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1792, allocations: 4 kB / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1792, allocations: 0 / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1792, allocations: 0 / 0.7899 GB, free: 9.543 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004184/0.1796, allocations: 0.5044 MB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1797, allocations: 12.02 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1797, allocations: 42.75 kB / 0.7904 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.1798, allocations: 20.73 kB / 0.7904 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1799, allocations: 172.3 kB / 0.7906 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.18, allocations: 384 / 0.7906 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.18, allocations: 8.375 kB / 0.7906 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1802, allocations: 241.9 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1803, allocations: 3.938 kB / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1803, allocations: 8 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1803, allocations: 3.938 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1804, allocations: 148 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1806, allocations: 185.5 kB / 0.7912 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.181, allocations: 0.5415 MB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.1813, allocations: 0.5204 MB / 0.7922 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.1814, allocations: 0 / 0.7922 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.1817, allocations: 399.6 kB / 0.7926 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.082e-06/0.1817, allocations: 0 / 0.7926 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0007105/0.1824, allocations: 0.6931 MB / 0.7933 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.1825, allocations: 105.1 kB / 0.7934 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.1826, allocations: 97.86 kB / 0.7935 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1826, allocations: 29.7 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1826, allocations: 84.78 kB / 0.7936 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.1827, allocations: 78.84 kB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1827, allocations: 37.73 kB / 0.7937 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1829, allocations: 322.8 kB / 0.794 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1829, allocations: 79.98 kB / 0.7941 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.183, allocations: 83.97 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.1833, allocations: 357.3 kB / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1833, allocations: 0 / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003265/0.1837, allocations: 332.1 kB / 0.7948 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.1837, allocations: 85.58 kB / 0.7949 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1837, allocations: 0 / 0.7949 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.1838, allocations: 4.062 kB / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.696e-05/0.1838, allocations: 0 / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1838, allocations: 0 / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.1839, allocations: 23.75 kB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1839, allocations: 4 kB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0002274/0.1842, allocations: 270.3 kB / 0.7952 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1842, allocations: 27.75 kB / 0.7952 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-06/0.1842, allocations: 5.219 kB / 0.7952 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1842, allocations: 0 / 0.7952 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1842, allocations: 7.938 kB / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1842, allocations: 0 / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1844, allocations: 249.4 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1844, allocations: 4 kB / 0.7955 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1844, allocations: 0 / 0.7955 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1844, allocations: 3.938 kB / 0.7955 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1845, allocations: 15.98 kB / 0.7955 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1845, allocations: 0 / 0.7955 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1845, allocations: 3.938 kB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1856, allocations: 1.283 MB / 0.7967 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1857, allocations: 92.89 kB / 0.7968 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.1858, allocations: 75.95 kB / 0.7969 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.1858, allocations: 8 kB / 0.7969 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1859, allocations: 7.984 kB / 0.7969 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1859, allocations: 12 kB / 0.7969 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.186, allocations: 87.27 kB / 0.797 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.186, allocations: 0 / 0.797 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002757/0.1862, allocations: 64 kB / 0.7971 GB, free: 1.777 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.00165/0.1879, allocations: 1.979 MB / 0.799 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.1894, allocations: 1.96 MB / 0.8009 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1894, allocations: 3.938 kB / 0.8009 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.1908, allocations: 2.019 MB / 0.8029 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.191, allocations: 16 kB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.1916, allocations: 412.3 kB / 0.8033 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1919, allocations: 0.7169 MB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.1919, allocations: 3.938 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1919, allocations: 27.44 kB / 0.804 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.1919, allocations: 0 / 0.804 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.204, allocations: 3.712 MB / 0.8076 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2042, allocations: 259.3 kB / 0.8079 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.779, allocations: 4 kB / 0.8079 GB, free: 6.719 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)