Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_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.001221/0.001221, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001117/0.001117, allocations: 200 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5592, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001985/0.5612, allocations: 1.382 MB / 0.9506 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005485/0.5617, allocations: 356.2 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.5618, allocations: 3.938 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.473e-05/0.5618, allocations: 8 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.391e-05/0.5619, allocations: 9.484 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.5622, allocations: 73.95 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.5623, allocations: 49.42 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.5624, allocations: 9.172 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.5624, allocations: 16.33 kB / 0.9511 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.5625, allocations: 26.03 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.5625, allocations: 4.312 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.5626, allocations: 82.45 kB / 0.9512 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.5627, allocations: 22.61 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.5627, allocations: 53.89 kB / 0.9513 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.5629, allocations: 157 kB / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5629, allocations: 0 / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5629, allocations: 0 / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5629, allocations: 5.438 kB / 0.9514 GB, free: 7.43 MB / 0.7169 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.0003747/0.5633, allocations: 0.5127 MB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5633, allocations: 9.625 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.5634, allocations: 44.23 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.5635, allocations: 20.98 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.64e-05/0.5635, allocations: 176.3 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5636, allocations: 1.75 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.5636, allocations: 4.5 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.5638, allocations: 245.7 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5638, allocations: 3.938 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5639, allocations: 5.531 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.5639, allocations: 0 / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.564, allocations: 145 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.5641, allocations: 197.4 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.5644, allocations: 0.5296 MB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5647, allocations: 0.5235 MB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.5647, allocations: 4 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.565, allocations: 404 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.283e-06/0.565, allocations: 3.938 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0006666/0.5657, allocations: 0.6839 MB / 0.9548 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5657, allocations: 103.8 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.5658, allocations: 103 kB / 0.955 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.5658, allocations: 25.7 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.347e-05/0.5658, allocations: 86.27 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.5659, allocations: 74.22 kB / 0.9552 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.5659, allocations: 40.94 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.746e-05/0.566, allocations: 322.8 kB / 0.9555 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.566, allocations: 82.55 kB / 0.9556 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.5661, allocations: 81.72 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.5663, allocations: 358 kB / 0.956 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5663, allocations: 0 / 0.956 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002641/0.5666, allocations: 332 kB / 0.9564 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.5667, allocations: 89.08 kB / 0.9564 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5667, allocations: 0 / 0.9564 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5667, allocations: 1.375 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.5668, allocations: 1.375 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.5668, allocations: 0 / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.5669, allocations: 17.47 kB / 0.9565 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.5669, allocations: 10.86 kB / 0.9565 GB, free: 3.672 MB / 0.7169 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.0001857/0.5671, allocations: 268.7 kB / 0.9567 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.5671, allocations: 25.41 kB / 0.9568 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-06/0.5671, allocations: 14.78 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5671, allocations: 0 / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5671, allocations: 0 / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5672, allocations: 1.188 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.5673, allocations: 244.7 kB / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5673, allocations: 0 / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.5673, allocations: 0 / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5673, allocations: 9.531 kB / 0.957 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.5673, allocations: 16.45 kB / 0.957 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5673, allocations: 0 / 0.957 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5673, allocations: 0 / 0.957 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5684, allocations: 1.289 MB / 0.9583 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.5684, allocations: 100.5 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.5685, allocations: 71.36 kB / 0.9585 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.5686, allocations: 11.75 kB / 0.9585 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.5686, allocations: 7.891 kB / 0.9585 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.5687, allocations: 16 kB / 0.9585 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.5687, allocations: 82.02 kB / 0.9586 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.92e-07/0.5687, allocations: 4.031 kB / 0.9586 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002683/0.569, allocations: 76.66 kB / 0.9586 GB, free: 2.32 MB / 0.7169 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.001438/0.5704, allocations: 1.951 MB / 0.9605 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.5717, allocations: 1.967 MB / 0.9625 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5717, allocations: 0 / 0.9625 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.5732, allocations: 2.019 MB / 0.9644 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.5734, allocations: 18.78 kB / 0.9645 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.5741, allocations: 411.9 kB / 0.9649 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5743, allocations: 0.7167 MB / 0.9656 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.5744, allocations: 0 / 0.9656 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.5744, allocations: 32.77 kB / 0.9656 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5744, allocations: 0 / 0.9656 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.6015, allocations: 4.007 MB / 0.9695 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.6017, allocations: 253.1 kB / 0.9697 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.281, allocations: 7.812 kB / 0.9697 GB, free: 11.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)