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.001243/0.001243, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001275/0.001275, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.149/2.149, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 75.88 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7199, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00213/0.7221, allocations: 1.329 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.7227, allocations: 353.2 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.7227, allocations: 0.9375 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.7228, allocations: 8.594 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.308e-05/0.7229, allocations: 5.719 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.7233, allocations: 82.39 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.7234, allocations: 59.08 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.7235, allocations: 7.922 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.7235, allocations: 17.89 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.7235, allocations: 20.25 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.7236, allocations: 4.344 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.7237, allocations: 83.44 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.7238, allocations: 23.81 kB / 1.091 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.7238, allocations: 55.23 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.7241, allocations: 152.1 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7241, allocations: 0 / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7241, allocations: 0 / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.7241, allocations: 4.719 kB / 1.091 GB, free: 4.184 MB / 0.8575 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.0003919/0.7245, allocations: 0.5155 MB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.7245, allocations: 12.72 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.7246, allocations: 13.88 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.7247, allocations: 176.6 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.7247, allocations: 3.438 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.7248, allocations: 3.406 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.725, allocations: 243.7 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.725, allocations: 8.844 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7251, allocations: 5.969 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7251, allocations: 0.6562 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.7252, allocations: 144.7 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.7253, allocations: 191.1 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.7257, allocations: 0.5345 MB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.726, allocations: 0.5236 MB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.726, allocations: 0.6562 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.7264, allocations: 413.6 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=39): time 1.343e-06/0.7264, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39): time 0.0008265/0.7272, allocations: 0.6982 MB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.7273, allocations: 104.9 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.7273, allocations: 99.47 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.7273, allocations: 27.2 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.7274, allocations: 82.33 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.7274, allocations: 77.31 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.7275, allocations: 32.44 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.7275, allocations: 327.9 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.7276, allocations: 83.61 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.7277, allocations: 78.98 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.728, allocations: 356.6 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7281, allocations: 0.8438 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003541/0.7284, allocations: 336.2 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/0.7285, allocations: 82.03 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7285, allocations: 12.62 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7285, allocations: 0 / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.7286, allocations: 1.984 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7286, allocations: 1.344 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.7287, allocations: 18.72 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.7287, allocations: 7.703 kB / 1.096 GB, free: 0.7344 MB / 0.8575 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.0002284/0.729, allocations: 262.1 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.729, allocations: 21.53 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.064e-05/0.729, allocations: 10.83 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.729, allocations: 4.797 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.729, allocations: 0 / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.7291, allocations: 94.45 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.7292, allocations: 72.62 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.7293, allocations: 11.84 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.7293, allocations: 5.297 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001804/0.7311, allocations: 2.032 MB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001458/0.7326, allocations: 1.416 MB / 1.1 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009785/0.7336, allocations: 1.288 MB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.7336, allocations: 79.2 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of Backend: time 4.71e-07/0.7336, allocations: 0 / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.7354, allocations: 1.901 MB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001076/0.7365, allocations: 1.392 MB / 1.104 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.005399/0.7419, allocations: 2.661 MB / 1.107 GB, free: 11.92 MB / 0.8731 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