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.001411/0.001411, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001886/0.001886, allocations: 199.8 kB / 16.26 MB, free: 6.629 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.1 MB / 222.1 MB, free: 4.684 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.583/1.583, allocations: 251.7 MB / 0.5089 GB, free: 3.219 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.001411/0.001411, allocations: 67.91 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6146, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002341/0.6169, allocations: 1.397 MB / 0.7253 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006926/0.6176, allocations: 359.7 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.6177, allocations: 0 / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.496e-05/0.6178, allocations: 7.938 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.469e-05/0.6178, allocations: 3.984 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.6182, allocations: 79.86 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.6183, allocations: 63.84 kB / 0.7258 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.6184, allocations: 0 / 0.7258 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.6184, allocations: 19.92 kB / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.6185, allocations: 19.97 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.6185, allocations: 4 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.6187, allocations: 83.86 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.6188, allocations: 27.91 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.6188, allocations: 47.75 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.6191, allocations: 163.4 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6191, allocations: 0 / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6191, allocations: 0 / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6191, allocations: 0 / 0.7262 GB, free: 10.84 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.0005911/0.6197, allocations: 0.5103 MB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6198, allocations: 8.031 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.6199, allocations: 16.75 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6201, allocations: 184.2 kB / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6201, allocations: 4.375 kB / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.6201, allocations: 4.375 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.6205, allocations: 241.9 kB / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6205, allocations: 192 / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6205, allocations: 7.938 kB / 0.7271 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6205, allocations: 0 / 0.7271 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.6207, allocations: 147.9 kB / 0.7273 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.6209, allocations: 193.3 kB / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.6213, allocations: 0.5376 MB / 0.728 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.6217, allocations: 0.5204 MB / 0.7285 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.6217, allocations: 0 / 0.7285 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/0.6221, allocations: 399.6 kB / 0.7289 GB, free: 7.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.182e-06/0.6221, allocations: 0 / 0.7289 GB, free: 7.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007268/0.6228, allocations: 0.6928 MB / 0.7296 GB, free: 7.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.6229, allocations: 105.1 kB / 0.7297 GB, free: 7.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.6229, allocations: 105.9 kB / 0.7298 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.623, allocations: 29.7 kB / 0.7298 GB, free: 6.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.623, allocations: 84.8 kB / 0.7299 GB, free: 6.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.6231, allocations: 71 kB / 0.7299 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.6231, allocations: 33.7 kB / 0.73 GB, free: 6.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6232, allocations: 330.8 kB / 0.7303 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.6233, allocations: 79.97 kB / 0.7304 GB, free: 6.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.6234, allocations: 87.97 kB / 0.7304 GB, free: 6.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.6237, allocations: 357.4 kB / 0.7308 GB, free: 5.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6237, allocations: 0 / 0.7308 GB, free: 5.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003118/0.624, allocations: 344 kB / 0.7311 GB, free: 5.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.6241, allocations: 81.58 kB / 0.7312 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6241, allocations: 0 / 0.7312 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6241, allocations: 0 / 0.7312 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.6241, allocations: 0 / 0.7312 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6242, allocations: 7.922 kB / 0.7312 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.6243, allocations: 15.91 kB / 0.7312 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.6243, allocations: 4 kB / 0.7312 GB, free: 5.418 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.0002258/0.6245, allocations: 273.7 kB / 0.7315 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.6246, allocations: 27.75 kB / 0.7315 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.6246, allocations: 9.203 kB / 0.7315 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6246, allocations: 0 / 0.7315 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6246, allocations: 0 / 0.7315 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6246, allocations: 0 / 0.7315 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.6248, allocations: 245.4 kB / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6248, allocations: 0 / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.6248, allocations: 0 / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.6248, allocations: 3.938 kB / 0.7317 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.6249, allocations: 27.97 kB / 0.7318 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.6249, allocations: 0 / 0.7318 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6249, allocations: 3.938 kB / 0.7318 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.626, allocations: 1.275 MB / 0.733 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.626, allocations: 96.8 kB / 0.7331 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.6261, allocations: 79.88 kB / 0.7332 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.6262, allocations: 8 kB / 0.7332 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.6263, allocations: 11.98 kB / 0.7332 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.6263, allocations: 16.03 kB / 0.7332 GB, free: 3.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.6263, allocations: 79.28 kB / 0.7333 GB, free: 3.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6263, allocations: 0 / 0.7333 GB, free: 3.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002827/0.6266, allocations: 67.98 kB / 0.7334 GB, free: 3.105 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.0004261/0.6271, allocations: 237.5 kB / 0.7336 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.6286, allocations: 1.967 MB / 0.7355 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6286, allocations: 4.062 kB / 0.7355 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.6301, allocations: 2.018 MB / 0.7375 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.6303, allocations: 19.94 kB / 0.7375 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.6309, allocations: 351.4 kB / 0.7378 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6312, allocations: 0.7205 MB / 0.7385 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.6312, allocations: 4 kB / 0.7385 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.6312, allocations: 7.438 kB / 0.7386 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.6312, allocations: 0 / 0.7386 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.005464/0.6367, allocations: 2.619 MB / 0.7411 GB, free: 11.11 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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)