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.001296/0.001296, 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.001468/0.001468, allocations: 190.7 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.144/1.144, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.542/1.542, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001325/0.001325, allocations: 66.02 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002057/0.1659, allocations: 1.393 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.1665, allocations: 352.8 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1665, allocations: 8 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.281e-05/0.1666, allocations: 0 / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.313e-05/0.1666, allocations: 7.922 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.167, allocations: 83.84 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.1671, allocations: 55.86 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.534e-05/0.1671, allocations: 4 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.1671, allocations: 15.98 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.1672, allocations: 23.91 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1672, allocations: 4 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1673, allocations: 83.84 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.1674, allocations: 27.92 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1674, allocations: 55.67 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1676, allocations: 147.8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1676, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1676, allocations: 4 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1676, allocations: 0 / 0.7852 GB, free: 11.54 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.0003955/0.168, allocations: 0.5123 MB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1681, allocations: 8.031 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.1681, allocations: 54.73 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.1682, allocations: 16.75 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.1683, allocations: 180.2 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1683, allocations: 384 / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1683, allocations: 8.312 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1685, allocations: 245.9 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1686, allocations: 3.938 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1686, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-06/0.1686, allocations: 7.938 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1687, allocations: 147.9 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1689, allocations: 185.5 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1692, allocations: 0.5337 MB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.1695, allocations: 0.5242 MB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.1696, allocations: 4 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.1699, allocations: 407.5 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.212e-06/0.1699, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0006284/0.1705, allocations: 0.6774 MB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1706, allocations: 113 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.1706, allocations: 97.84 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1707, allocations: 29.7 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1707, allocations: 92.77 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.1707, allocations: 78.84 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1708, allocations: 33.7 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.1709, allocations: 326.8 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.171, allocations: 79.97 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.171, allocations: 83.97 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.1713, allocations: 353.4 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1713, allocations: 0 / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002874/0.1716, allocations: 336.2 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.1717, allocations: 82.52 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1717, allocations: 3.938 kB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.1717, allocations: 4 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.245e-05/0.1717, allocations: 0 / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1717, allocations: 0 / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.1718, allocations: 19.75 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1719, allocations: 12 kB / 0.7902 GB, free: 6.043 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.0001983/0.1721, allocations: 265.7 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.1721, allocations: 23.75 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-06/0.1721, allocations: 17.2 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1721, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1721, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-06/0.1721, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1723, allocations: 245.4 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1723, allocations: 0 / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1723, allocations: 0 / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1723, allocations: 3.938 kB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.1723, allocations: 15.98 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1723, allocations: 4 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1723, allocations: 4 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1734, allocations: 1.283 MB / 0.792 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1734, allocations: 92.89 kB / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.1735, allocations: 75.94 kB / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1736, allocations: 8 kB / 0.7922 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1736, allocations: 7.984 kB / 0.7922 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1736, allocations: 16 kB / 0.7922 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.1737, allocations: 75.28 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1737, allocations: 4.031 kB / 0.7923 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002501/0.1739, allocations: 67.98 kB / 0.7924 GB, free: 3.75 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.001493/0.1754, allocations: 1.981 MB / 0.7943 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.1768, allocations: 1.968 MB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1768, allocations: 0 / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.178, allocations: 2.015 MB / 0.7982 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1782, allocations: 19.98 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.1788, allocations: 405.1 kB / 0.7986 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.179, allocations: 0.7204 MB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.195e-05/0.179, allocations: 4 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.1791, allocations: 27.44 kB / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.1791, allocations: 4 kB / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/1.678, allocations: 4.014 MB / 0.8033 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/1.678, allocations: 259.8 kB / 0.8035 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.962, allocations: 1.75 kB / 0.8035 GB, free: 8.375 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)