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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_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.001454/0.001454, allocations: 113 kB / 15.99 MB, free: 5.891 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.001731/0.001732, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.421/1.421, allocations: 222.9 MB / 240.6 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.443/2.443, allocations: 390.2 MB / 0.665 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 71.88 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6526, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002282/0.6549, allocations: 1.396 MB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.6556, allocations: 351 kB / 0.9515 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.6556, allocations: 0 / 0.9515 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.478e-05/0.6557, allocations: 5.312 kB / 0.9515 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.6558, allocations: 3.938 kB / 0.9515 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.6562, allocations: 85.97 kB / 0.9516 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.6563, allocations: 57.19 kB / 0.9516 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.6563, allocations: 2.125 kB / 0.9516 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.6564, allocations: 15.92 kB / 0.9516 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.6564, allocations: 23.28 kB / 0.9516 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.6564, allocations: 3.469 kB / 0.9517 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.6566, allocations: 81.17 kB / 0.9517 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.6566, allocations: 36.69 kB / 0.9518 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.6567, allocations: 48.03 kB / 0.9518 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.6569, allocations: 112.5 kB / 0.9519 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6569, allocations: 0 / 0.9519 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6569, allocations: 0 / 0.9519 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.6569, allocations: 0 / 0.9519 GB, free: 7.637 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.0003848/0.6573, allocations: 0.5051 MB / 0.9524 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6573, allocations: 13.89 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.6574, allocations: 21.12 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.6575, allocations: 179.4 kB / 0.9526 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6575, allocations: 2.219 kB / 0.9526 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.6575, allocations: 8.094 kB / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.6578, allocations: 241.6 kB / 0.9529 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.6578, allocations: 192 / 0.9529 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.6578, allocations: 6.25 kB / 0.9529 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.6578, allocations: 0 / 0.9529 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.658, allocations: 148.3 kB / 0.953 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.6581, allocations: 197.4 kB / 0.9532 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.6584, allocations: 0.5334 MB / 0.9537 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.6587, allocations: 0.5199 MB / 0.9542 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.6587, allocations: 1.438 kB / 0.9542 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.6591, allocations: 390.9 kB / 0.9546 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.6591, allocations: 0 / 0.9546 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0006774/0.6597, allocations: 0.6947 MB / 0.9553 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.6598, allocations: 113.3 kB / 0.9554 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.6599, allocations: 93.33 kB / 0.9555 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.6599, allocations: 26.86 kB / 0.9555 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.6599, allocations: 85.94 kB / 0.9556 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.66, allocations: 74.38 kB / 0.9556 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.66, allocations: 39.08 kB / 0.9557 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.6601, allocations: 327.4 kB / 0.956 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.6601, allocations: 81.09 kB / 0.9561 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.6602, allocations: 84.95 kB / 0.9562 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.6605, allocations: 357.8 kB / 0.9565 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6605, allocations: 0 / 0.9565 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000293/0.6608, allocations: 334.9 kB / 0.9568 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.6609, allocations: 84.61 kB / 0.9569 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6609, allocations: 0 / 0.9569 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6609, allocations: 0 / 0.9569 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.6609, allocations: 3.344 kB / 0.9569 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.661, allocations: 0 / 0.9569 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.6611, allocations: 24.14 kB / 0.9569 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.6611, allocations: 6.875 kB / 0.9569 GB, free: 3.93 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.0001986/0.6613, allocations: 269.3 kB / 0.9572 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.6613, allocations: 25.5 kB / 0.9572 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.001e-05/0.6613, allocations: 5.219 kB / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6613, allocations: 1.375 kB / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6614, allocations: 0 / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6614, allocations: 0 / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.6615, allocations: 249 kB / 0.9575 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6615, allocations: 0 / 0.9575 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.6615, allocations: 5.375 kB / 0.9575 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6615, allocations: 8.062 kB / 0.9575 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.6615, allocations: 20.17 kB / 0.9575 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6615, allocations: 1.375 kB / 0.9575 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6616, allocations: 0 / 0.9575 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.6627, allocations: 1.283 MB / 0.9587 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.6628, allocations: 93.95 kB / 0.9588 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.6629, allocations: 74.95 kB / 0.9589 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.6629, allocations: 11.72 kB / 0.9589 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.663, allocations: 11.05 kB / 0.9589 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.663, allocations: 17.52 kB / 0.9589 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.663, allocations: 77.31 kB / 0.959 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.663, allocations: 0 / 0.959 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003073/0.6634, allocations: 68.47 kB / 0.9591 GB, free: 2.594 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.0003816/0.6637, allocations: 247.3 kB / 0.9593 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.6651, allocations: 1.971 MB / 0.9612 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6651, allocations: 0 / 0.9612 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.6664, allocations: 2.016 MB / 0.9632 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.6666, allocations: 20.33 kB / 0.9632 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.6673, allocations: 379.4 kB / 0.9636 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6676, allocations: 0.7201 MB / 0.9643 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.231e-05/0.6676, allocations: 8.5 kB / 0.9643 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6676, allocations: 3.938 kB / 0.9643 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.00493/0.6726, allocations: 2.436 MB / 0.9667 GB, free: 13.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches