Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008439/0.0008439, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008766/0.0008767, allocations: 172.7 kB / 15.95 MB, free: 208 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.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 252 MB / 0.5102 GB, free: 4.754 MB / 414.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.0005186/0.0005188, allocations: 16 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5721, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001619/0.5737, allocations: 1.055 MB / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.5744, allocations: 340.1 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.5745, allocations: 0 / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.5746, allocations: 3.938 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.5746, allocations: 7.984 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.575, allocations: 75.78 kB / 0.7296 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.5751, allocations: 35.92 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.5752, allocations: 4 kB / 0.7296 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.5752, allocations: 11.98 kB / 0.7296 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.5753, allocations: 23.91 kB / 0.7296 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5753, allocations: 8 kB / 0.7296 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.5755, allocations: 71.84 kB / 0.7297 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.5755, allocations: 23.92 kB / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.5756, allocations: 45.64 kB / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.5758, allocations: 111.8 kB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5758, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5758, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5758, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 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.0005344/0.5763, allocations: 0.5062 MB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5764, allocations: 12.03 kB / 0.7304 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.5765, allocations: 19.81 kB / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.5766, allocations: 178.8 kB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.5766, allocations: 7.938 kB / 0.7306 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.5767, allocations: 4 kB / 0.7306 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.577, allocations: 245.4 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.577, allocations: 0 / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.577, allocations: 0 / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.577, allocations: 0 / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.5771, allocations: 147.9 kB / 0.731 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.5773, allocations: 205.3 kB / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.5778, allocations: 0.5298 MB / 0.7317 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.5782, allocations: 0.5204 MB / 0.7322 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.5782, allocations: 0 / 0.7322 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.5787, allocations: 395.7 kB / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.595e-06/0.5787, allocations: 4 kB / 0.7326 GB, free: 6.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0008023/0.5795, allocations: 0.6815 MB / 0.7332 GB, free: 5.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.5796, allocations: 109.1 kB / 0.7333 GB, free: 5.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.5797, allocations: 97.84 kB / 0.7334 GB, free: 5.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5797, allocations: 29.7 kB / 0.7335 GB, free: 5.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.5797, allocations: 80.8 kB / 0.7335 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.5798, allocations: 78.91 kB / 0.7336 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5799, allocations: 0 / 0.7336 GB, free: 5.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.58, allocations: 326.8 kB / 0.7339 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.5801, allocations: 84.02 kB / 0.734 GB, free: 5.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.5802, allocations: 83.97 kB / 0.7341 GB, free: 5.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.5804, allocations: 174.9 kB / 0.7342 GB, free: 4.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5804, allocations: 0 / 0.7342 GB, free: 4.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003634/0.5807, allocations: 339.9 kB / 0.7346 GB, free: 4.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.5808, allocations: 83.2 kB / 0.7346 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5808, allocations: 0 / 0.7346 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5809, allocations: 0 / 0.7346 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.5809, allocations: 0 / 0.7346 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5809, allocations: 4 kB / 0.7346 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5811, allocations: 19.91 kB / 0.7347 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.5811, allocations: 8 kB / 0.7347 GB, free: 4.398 MB / 0.545 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.0002774/0.5814, allocations: 273.6 kB / 0.7349 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.5814, allocations: 19.81 kB / 0.735 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.454e-05/0.5814, allocations: 9.219 kB / 0.735 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5815, allocations: 0 / 0.735 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5815, allocations: 4 kB / 0.735 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5815, allocations: 4 kB / 0.735 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.5817, allocations: 245.3 kB / 0.7352 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5817, allocations: 4 kB / 0.7352 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-06/0.5817, allocations: 4 kB / 0.7352 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5817, allocations: 3.938 kB / 0.7352 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.5817, allocations: 11.98 kB / 0.7352 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5817, allocations: 0 / 0.7352 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5817, allocations: 3.938 kB / 0.7352 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.583, allocations: 1.275 MB / 0.7365 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.5831, allocations: 104.7 kB / 0.7366 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.5832, allocations: 75.98 kB / 0.7367 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.5833, allocations: 8 kB / 0.7367 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.5833, allocations: 8.172 kB / 0.7367 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.5833, allocations: 12 kB / 0.7367 GB, free: 2.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.5834, allocations: 87.25 kB / 0.7368 GB, free: 2.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5834, allocations: 3.938 kB / 0.7368 GB, free: 2.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003448/0.5837, allocations: 68 kB / 0.7368 GB, free: 2.086 MB / 0.545 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.0005145/0.5843, allocations: 243.9 kB / 0.7371 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.5858, allocations: 1.964 MB / 0.739 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5859, allocations: 0 / 0.739 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.5873, allocations: 2.018 MB / 0.741 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5876, allocations: 20 kB / 0.741 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.5882, allocations: 342.7 kB / 0.7413 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5885, allocations: 0.7208 MB / 0.742 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.5885, allocations: 7.938 kB / 0.742 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.5885, allocations: 11.44 kB / 0.742 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5886, allocations: 0 / 0.742 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.005581/0.5941, allocations: 2.377 MB / 0.7443 GB, free: 10.33 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: