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.0009429/0.0009429, allocations: 91.84 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.007885/0.007885, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.428/1.428, 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.716/1.716, 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.000542/0.000542, allocations: 16.53 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2785, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001784/0.2803, allocations: 1.065 MB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.2811, allocations: 357 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.2812, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2813, allocations: 11.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.2814, allocations: 7.984 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2819, allocations: 79.8 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.282, allocations: 39.86 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.282, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.2821, allocations: 19.97 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.2821, allocations: 19.92 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2822, allocations: 4 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.2824, allocations: 79.84 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.2824, allocations: 27.92 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.2825, allocations: 77.38 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.2828, allocations: 155.5 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2828, allocations: 0 / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2828, allocations: 0 / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2828, allocations: 0 / 0.7898 GB, free: 9.648 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.0006269/0.2835, allocations: 0.4969 MB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.2835, allocations: 8.031 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2837, allocations: 16.75 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2839, allocations: 172.3 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2839, allocations: 384 / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2839, allocations: 8.375 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.2843, allocations: 245.9 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2843, allocations: 192 / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2843, allocations: 7.938 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.2843, allocations: 0 / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2845, allocations: 151.9 kB / 0.7908 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.2847, allocations: 197.4 kB / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.2852, allocations: 0.5337 MB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.2856, allocations: 0.5243 MB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2856, allocations: 3.938 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.2861, allocations: 391.7 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 3.176e-06/0.2861, allocations: 0 / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0008021/0.2869, allocations: 0.6931 MB / 0.7931 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.287, allocations: 105.1 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2871, allocations: 109.9 kB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2871, allocations: 29.7 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.2872, allocations: 80.8 kB / 0.7934 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.2872, allocations: 82.84 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2873, allocations: 29.7 kB / 0.7935 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2874, allocations: 322.8 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.2875, allocations: 79.98 kB / 0.7939 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.2876, allocations: 83.97 kB / 0.794 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.288, allocations: 361.3 kB / 0.7943 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.288, allocations: 4.031 kB / 0.7943 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004083/0.2884, allocations: 328.2 kB / 0.7946 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.2885, allocations: 85.58 kB / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2885, allocations: 0 / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2886, allocations: 0 / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.2886, allocations: 0 / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2887, allocations: 0 / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.2888, allocations: 23.75 kB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2888, allocations: 7.984 kB / 0.7948 GB, free: 4.238 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.0002978/0.2891, allocations: 265.7 kB / 0.795 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2892, allocations: 27.84 kB / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.2892, allocations: 5.219 kB / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2892, allocations: 0 / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2892, allocations: 0 / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2892, allocations: 0 / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2895, allocations: 249.3 kB / 0.7953 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2895, allocations: 0 / 0.7953 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.2895, allocations: 3.938 kB / 0.7953 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2895, allocations: 7.938 kB / 0.7953 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.2895, allocations: 15.98 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2895, allocations: 4 kB / 0.7953 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2895, allocations: 0 / 0.7953 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2909, allocations: 1.279 MB / 0.7966 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.2909, allocations: 88.95 kB / 0.7966 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.2911, allocations: 79.89 kB / 0.7967 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.2911, allocations: 11.94 kB / 0.7967 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2912, allocations: 7.984 kB / 0.7967 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.2912, allocations: 15.98 kB / 0.7967 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.2913, allocations: 83.31 kB / 0.7968 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2913, allocations: 0 / 0.7968 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003068/0.2916, allocations: 72 kB / 0.7969 GB, free: 1.938 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.0005098/0.2921, allocations: 243.6 kB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.2937, allocations: 1.971 MB / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2938, allocations: 0 / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.2952, allocations: 2.015 MB / 0.801 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2955, allocations: 16 kB / 0.801 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.2961, allocations: 366.6 kB / 0.8014 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2965, allocations: 0.713 MB / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.913e-05/0.2965, allocations: 0 / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.2965, allocations: 7.438 kB / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2965, allocations: 0 / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.006055/0.3026, allocations: 2.424 MB / 0.8045 GB, free: 10.12 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: