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.0008078/0.0008079, 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.004989/0.004989, allocations: 171.1 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.421/1.421, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.662/1.662, allocations: 252 MB / 0.5105 GB, free: 4.602 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.0005453/0.0005452, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4597, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001386/0.4611, allocations: 1.062 MB / 0.7298 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000718/0.4619, allocations: 375.8 kB / 0.7301 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.4619, allocations: 0 / 0.7301 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.56e-05/0.462, allocations: 3.938 kB / 0.7301 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.462, allocations: 11.97 kB / 0.7301 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.4624, allocations: 63.88 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.4625, allocations: 47.84 kB / 0.7302 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.4626, allocations: 0 / 0.7302 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.4626, allocations: 23.91 kB / 0.7303 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.4627, allocations: 15.98 kB / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.4627, allocations: 4 kB / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.4629, allocations: 79.91 kB / 0.7304 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.4629, allocations: 27.86 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.463, allocations: 65.45 kB / 0.7304 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.4632, allocations: 163.4 kB / 0.7306 GB, free: 9.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4632, allocations: 0 / 0.7306 GB, free: 9.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4632, allocations: 0 / 0.7306 GB, free: 9.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4632, allocations: 4 kB / 0.7306 GB, free: 9.301 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.0004429/0.4637, allocations: 0.4948 MB / 0.7311 GB, free: 8.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4637, allocations: 16.03 kB / 0.7311 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.4638, allocations: 20.73 kB / 0.7311 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.464, allocations: 180.2 kB / 0.7313 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.464, allocations: 384 / 0.7313 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.464, allocations: 4.375 kB / 0.7313 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.4643, allocations: 245.9 kB / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.4643, allocations: 192 / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4643, allocations: 3.938 kB / 0.7315 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4643, allocations: 4 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.4645, allocations: 144 kB / 0.7317 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.4646, allocations: 201.3 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.465, allocations: 0.5298 MB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.4654, allocations: 0.5242 MB / 0.7329 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.4654, allocations: 0 / 0.7329 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.4658, allocations: 395.7 kB / 0.7333 GB, free: 6.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.132e-06/0.4658, allocations: 0 / 0.7333 GB, free: 6.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007075/0.4665, allocations: 0.6893 MB / 0.7339 GB, free: 5.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4666, allocations: 109.1 kB / 0.7341 GB, free: 5.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.4667, allocations: 101.8 kB / 0.7342 GB, free: 5.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4667, allocations: 25.7 kB / 0.7342 GB, free: 5.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.4667, allocations: 88.73 kB / 0.7343 GB, free: 5.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.4668, allocations: 71 kB / 0.7343 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.4668, allocations: 29.7 kB / 0.7344 GB, free: 5.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4669, allocations: 330.8 kB / 0.7347 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.467, allocations: 80.02 kB / 0.7347 GB, free: 4.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.4671, allocations: 87.97 kB / 0.7348 GB, free: 4.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.4674, allocations: 349.4 kB / 0.7352 GB, free: 4.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4674, allocations: 0 / 0.7352 GB, free: 4.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003276/0.4677, allocations: 340 kB / 0.7355 GB, free: 4.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.4678, allocations: 81.58 kB / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4678, allocations: 4 kB / 0.7356 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4678, allocations: 0 / 0.7356 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.4679, allocations: 0 / 0.7356 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.4679, allocations: 0 / 0.7356 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.468, allocations: 23.91 kB / 0.7356 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.468, allocations: 4 kB / 0.7356 GB, free: 3.902 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 (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.0002341/0.4683, allocations: 273.7 kB / 0.7359 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.4683, allocations: 27.75 kB / 0.7359 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.4683, allocations: 9.156 kB / 0.7359 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4684, allocations: 0 / 0.7359 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4684, allocations: 0 / 0.7359 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4684, allocations: 0 / 0.7359 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4685, allocations: 245.4 kB / 0.7361 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4686, allocations: 8 kB / 0.7361 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.4686, allocations: 0 / 0.7361 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4686, allocations: 3.938 kB / 0.7361 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4686, allocations: 15.98 kB / 0.7362 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4686, allocations: 4 kB / 0.7362 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4686, allocations: 3.938 kB / 0.7362 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4697, allocations: 1.275 MB / 0.7374 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4698, allocations: 100.8 kB / 0.7375 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.4699, allocations: 76.11 kB / 0.7376 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.47, allocations: 12 kB / 0.7376 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.47, allocations: 15.97 kB / 0.7376 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.47, allocations: 12 kB / 0.7376 GB, free: 1.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.4701, allocations: 83.27 kB / 0.7377 GB, free: 1.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4701, allocations: 0 / 0.7377 GB, free: 1.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002966/0.4704, allocations: 64 kB / 0.7378 GB, free: 1.586 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 (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.0004118/0.4708, allocations: 243.4 kB / 0.738 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.4723, allocations: 1.964 MB / 0.7399 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4723, allocations: 0 / 0.7399 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.4736, allocations: 2.018 MB / 0.7419 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4738, allocations: 18.81 kB / 0.7419 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.4743, allocations: 354.7 kB / 0.7422 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4746, allocations: 0.7207 MB / 0.7429 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.4746, allocations: 4 kB / 0.7429 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.4747, allocations: 7.438 kB / 0.7429 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4747, allocations: 0 / 0.7429 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.005177/0.4799, allocations: 2.426 MB / 0.7453 GB, free: 9.781 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: