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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007399/0.0007399, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0007798/0.0007798, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.601/1.601, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004791/0.0004792, allocations: 12.12 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001486/0.2049, allocations: 1.054 MB / 0.7883 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.2056, allocations: 337.1 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.2057, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.221e-05/0.2057, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.646e-05/0.2058, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.2062, allocations: 67.84 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.2063, allocations: 43.84 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2063, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.2064, allocations: 19.97 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.2064, allocations: 11.92 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2064, allocations: 7.938 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2066, allocations: 79.86 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.2066, allocations: 23.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.2067, allocations: 49.64 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2069, allocations: 107.8 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2069, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2069, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2069, allocations: 0 / 0.789 GB, free: 10.14 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.0004501/0.2073, allocations: 0.5046 MB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2074, allocations: 8.031 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.2075, allocations: 19.81 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2076, allocations: 182.9 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2076, allocations: 0 / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2077, allocations: 4 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.2079, allocations: 241.6 kB / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2079, allocations: 0 / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.208, allocations: 0 / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.208, allocations: 4 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2081, allocations: 144 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.2083, allocations: 197.4 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.2087, allocations: 0.5337 MB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.209, allocations: 0.5201 MB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2091, allocations: 7.938 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.2094, allocations: 391.7 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.2095, allocations: 0 / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0007095/0.2102, allocations: 0.6893 MB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.2103, allocations: 113.1 kB / 0.7925 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.2103, allocations: 97.84 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2103, allocations: 25.7 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2104, allocations: 84.8 kB / 0.7927 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.2104, allocations: 74.94 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.2105, allocations: 0 / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2106, allocations: 330.8 kB / 0.7931 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.2107, allocations: 83.97 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.2107, allocations: 83.97 kB / 0.7932 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2109, allocations: 174.9 kB / 0.7934 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2109, allocations: 3.953 kB / 0.7934 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003472/0.2113, allocations: 339.9 kB / 0.7937 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.2113, allocations: 77.66 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2113, allocations: 0 / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2114, allocations: 0 / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.2114, allocations: 7.984 kB / 0.7938 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.2114, allocations: 3.938 kB / 0.7938 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.2115, allocations: 19.81 kB / 0.7938 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2116, allocations: 12 kB / 0.7938 GB, free: 4.941 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.2118, allocations: 266.3 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2118, allocations: 19.86 kB / 0.7941 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.2118, allocations: 9.219 kB / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2118, allocations: 0 / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2118, allocations: 0 / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2119, allocations: 0 / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.212, allocations: 253.3 kB / 0.7944 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.212, allocations: 7.984 kB / 0.7944 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-06/0.212, allocations: 3.953 kB / 0.7944 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2121, allocations: 4 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.2121, allocations: 8 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2121, allocations: 0 / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2121, allocations: 0 / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2132, allocations: 1.275 MB / 0.7956 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.2133, allocations: 92.86 kB / 0.7957 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.2134, allocations: 79.91 kB / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.2135, allocations: 16.02 kB / 0.7958 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2135, allocations: 8 kB / 0.7958 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.2135, allocations: 11.98 kB / 0.7958 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.2136, allocations: 83.28 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2136, allocations: 0 / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002796/0.2139, allocations: 64 kB / 0.796 GB, free: 2.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004078/0.2143, allocations: 262.2 kB / 0.7962 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.2158, allocations: 1.964 MB / 0.7981 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2158, allocations: 0 / 0.7981 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.2171, allocations: 2.018 MB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2173, allocations: 19.98 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.2178, allocations: 346.7 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.218, allocations: 0.713 MB / 0.8012 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.218, allocations: 3.906 kB / 0.8012 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.2181, allocations: 11.44 kB / 0.8012 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.2181, allocations: 0 / 0.8012 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.004599/0.2227, allocations: 2.375 MB / 0.8035 GB, free: 10.88 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: