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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00145/0.001451, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5776, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002069/0.5797, allocations: 1.392 MB / 0.9509 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.5804, allocations: 382.1 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.5804, allocations: 1.219 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.909e-05/0.5805, allocations: 0 / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.5806, allocations: 5.062 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.5809, allocations: 77.42 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.581, allocations: 45.92 kB / 0.9514 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.581, allocations: 2.688 kB / 0.9514 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.581, allocations: 15.77 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.5811, allocations: 15.02 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.5811, allocations: 1.406 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.5812, allocations: 79.08 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.5813, allocations: 31.27 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.5813, allocations: 48.88 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.5815, allocations: 109.9 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5815, allocations: 1.469 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5815, allocations: 0 / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5815, allocations: 0 / 0.9517 GB, free: 7.477 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.0003653/0.5819, allocations: 0.5164 MB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5819, allocations: 9.625 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.582, allocations: 20.98 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.5821, allocations: 175 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5821, allocations: 3.125 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.5821, allocations: 3.125 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.5824, allocations: 246.4 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5824, allocations: 192 / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5824, allocations: 5.719 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5824, allocations: 3.938 kB / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5826, allocations: 149.1 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.5827, allocations: 189.5 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.583, allocations: 0.5334 MB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.5833, allocations: 0.5268 MB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.5833, allocations: 0.9375 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.5836, allocations: 395.4 kB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.5836, allocations: 0 / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.000702/0.5843, allocations: 0.691 MB / 0.9551 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5844, allocations: 109.1 kB / 0.9552 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.5844, allocations: 97.92 kB / 0.9553 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.5844, allocations: 31.14 kB / 0.9553 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.413e-05/0.5845, allocations: 80.8 kB / 0.9554 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.5845, allocations: 78 kB / 0.9555 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.5846, allocations: 40.28 kB / 0.9555 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.5846, allocations: 322.8 kB / 0.9558 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.5847, allocations: 81.39 kB / 0.9559 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.5848, allocations: 82.81 kB / 0.956 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.585, allocations: 359.1 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.585, allocations: 4.031 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002846/0.5853, allocations: 332.2 kB / 0.9566 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.5854, allocations: 85.08 kB / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5854, allocations: 1.375 kB / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5854, allocations: 0 / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.5854, allocations: 1.375 kB / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5855, allocations: 0 / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.5856, allocations: 17.47 kB / 0.9567 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.5856, allocations: 10.86 kB / 0.9567 GB, free: 3.762 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.0001879/0.5858, allocations: 264.4 kB / 0.957 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.5858, allocations: 31.06 kB / 0.957 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.818e-06/0.5858, allocations: 5.219 kB / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5858, allocations: 0 / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5859, allocations: 1.219 kB / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5859, allocations: 192 / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.586, allocations: 244.5 kB / 0.9572 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.586, allocations: 3.984 kB / 0.9573 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.586, allocations: 5.031 kB / 0.9573 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.586, allocations: 3.938 kB / 0.9573 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.586, allocations: 17.45 kB / 0.9573 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.586, allocations: 8 kB / 0.9573 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.586, allocations: 0 / 0.9573 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.5871, allocations: 1.281 MB / 0.9585 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.5872, allocations: 96.61 kB / 0.9586 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5873, allocations: 76.39 kB / 0.9587 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.5874, allocations: 11.22 kB / 0.9587 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.5874, allocations: 6.859 kB / 0.9587 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5874, allocations: 16.77 kB / 0.9587 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.5875, allocations: 82.72 kB / 0.9588 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5875, allocations: 0 / 0.9588 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003123/0.5878, allocations: 68.12 kB / 0.9589 GB, free: 2.426 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.000397/0.5882, allocations: 247.5 kB / 0.9591 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.5895, allocations: 1.967 MB / 0.961 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5896, allocations: 1.062 kB / 0.961 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5908, allocations: 2.014 MB / 0.963 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.5911, allocations: 18.48 kB / 0.963 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005735/0.5916, allocations: 376.5 kB / 0.9634 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5919, allocations: 0.7136 MB / 0.9641 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.592, allocations: 7.438 kB / 0.9641 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.592, allocations: 0 / 0.9641 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.004325/0.5963, allocations: 2.449 MB / 0.9665 GB, free: 13.54 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