Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005624/0.005624, allocations: 96.03 kB / 15.73 MB, free: 6.051 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.001314/0.001314, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002167/0.3351, allocations: 1.343 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.3358, allocations: 346.9 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.3359, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.336, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.336, allocations: 11.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3364, allocations: 95.7 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3365, allocations: 43.92 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3366, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.3366, allocations: 23.91 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.3367, allocations: 15.92 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3367, allocations: 4 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3368, allocations: 87.84 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.3369, allocations: 27.92 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.3369, allocations: 43.73 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3372, allocations: 163.4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3372, allocations: 4 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3372, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3372, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 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.0005158/0.3377, allocations: 0.516 MB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3377, allocations: 8.031 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3378, allocations: 16.84 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.338, allocations: 180.2 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.338, allocations: 384 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.338, allocations: 8.312 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3383, allocations: 246.2 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3383, allocations: 192 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3383, allocations: 3.938 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3383, allocations: 4 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3385, allocations: 147.9 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3386, allocations: 193.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3388, allocations: 158.5 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3389, allocations: 148.8 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.339, allocations: 4 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.3393, allocations: 403.6 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 1.132e-06/0.3393, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.0007193/0.3401, allocations: 0.6932 MB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.3401, allocations: 105.1 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.3402, allocations: 97.86 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3402, allocations: 29.64 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.3402, allocations: 84.83 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.3403, allocations: 75.44 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3403, allocations: 37.7 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.3404, allocations: 326.8 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.3405, allocations: 79.98 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.3406, allocations: 83.91 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.3409, allocations: 361.3 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3409, allocations: 0 / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003234/0.3412, allocations: 336.4 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.3413, allocations: 87.3 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3413, allocations: 0 / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3413, allocations: 3.984 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.3414, allocations: 4 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3414, allocations: 0 / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.3415, allocations: 15.89 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3415, allocations: 8 kB / 1.227 GB, free: 6.969 MB / 0.9825 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.0002384/0.3417, allocations: 269.7 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3418, allocations: 23.84 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.3418, allocations: 9.219 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3418, allocations: 4 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3418, allocations: 3.938 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3418, allocations: 0 / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.342, allocations: 249.4 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.342, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.342, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.342, allocations: 7.938 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.342, allocations: 19.92 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.342, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.342, allocations: 4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3432, allocations: 1.283 MB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.3432, allocations: 92.94 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.3433, allocations: 79.89 kB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.3434, allocations: 8 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3434, allocations: 3.984 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3434, allocations: 16 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.3435, allocations: 83.3 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 4 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002843/0.3438, allocations: 64 kB / 1.229 GB, free: 4.656 MB / 0.9825 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.0004108/0.3442, allocations: 252.3 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.3452, allocations: 1.104 MB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3452, allocations: 0 / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.346, allocations: 0.9286 MB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3462, allocations: 25.95 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.3468, allocations: 347 kB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3471, allocations: 0.7166 MB / 1.232 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.515e-05/0.3471, allocations: 0 / 1.232 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.3472, allocations: 11.38 kB / 1.232 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3472, allocations: 4 kB / 1.232 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.005598/0.3527, allocations: 2.633 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches