Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006395/0.006395, allocations: 114.3 kB / 15.71 MB, free: 6.484 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.001209/0.001209, allocations: 195 kB / 16.65 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 4.34 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.576/2.576, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 67.64 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3474, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003105/0.3506, allocations: 1.663 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.5378, allocations: 149.7 MB / 1.236 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.538, allocations: 4 kB / 1.236 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.5383, allocations: 19.8 kB / 1.236 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.5386, allocations: 55.58 kB / 1.236 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.5393, allocations: 179.4 kB / 1.236 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.5396, allocations: 167.5 kB / 1.236 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.5397, allocations: 37.03 kB / 1.236 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.5411, allocations: 189 kB / 1.236 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.5413, allocations: 67.73 kB / 1.236 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.5413, allocations: 12 kB / 1.236 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.5417, allocations: 155.8 kB / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.5418, allocations: 27.91 kB / 1.237 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.5419, allocations: 55.72 kB / 1.237 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.5423, allocations: 207.4 kB / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5424, allocations: 0 / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5424, allocations: 0 / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5424, allocations: 0 / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009443/0.5433, allocations: 459 kB / 1.237 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5434, allocations: 8.031 kB / 1.237 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.544, allocations: 60.69 kB / 1.237 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.5443, allocations: 202.8 kB / 1.238 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5443, allocations: 12 kB / 1.238 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5443, allocations: 7.938 kB / 1.238 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.5448, allocations: 185.7 kB / 1.238 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5448, allocations: 3.938 kB / 1.238 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.5448, allocations: 8 kB / 1.238 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5448, allocations: 7.984 kB / 1.238 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.5453, allocations: 139.8 kB / 1.238 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.5464, allocations: 0.8283 MB / 1.239 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.5469, allocations: 130.4 kB / 1.239 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.5471, allocations: 88.78 kB / 1.239 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5472, allocations: 0 / 1.239 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5472, allocations: 30.56 kB / 1.239 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.5472, allocations: 0 / 1.239 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001913/0.5491, allocations: 459.1 kB / 1.239 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.5492, allocations: 51.41 kB / 1.24 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5493, allocations: 161.6 kB / 1.24 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5493, allocations: 25.7 kB / 1.24 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.5494, allocations: 108.4 kB / 1.24 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5495, allocations: 35.53 kB / 1.24 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.5495, allocations: 33.7 kB / 1.24 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5497, allocations: 318.8 kB / 1.24 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.5499, allocations: 75.88 kB / 1.24 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.5502, allocations: 100.2 kB / 1.24 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5507, allocations: 176.1 kB / 1.24 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5507, allocations: 0 / 1.24 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001038/0.5518, allocations: 278.1 kB / 1.241 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5518, allocations: 15.88 kB / 1.241 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5518, allocations: 3.938 kB / 1.241 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.5524, allocations: 88.88 kB / 1.241 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.5526, allocations: 27.97 kB / 1.241 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.5552, allocations: 1.659 MB / 1.243 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.5555, allocations: 23.83 kB / 1.243 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5555, allocations: 16.05 kB / 1.243 GB, free: 2.109 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.5557, allocations: 121.7 kB / 1.243 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.5558, allocations: 7.906 kB / 1.243 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.5569, allocations: 317.9 kB / 1.243 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5569, allocations: 3.984 kB / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.5569, allocations: 0 / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5569, allocations: 0 / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.5572, allocations: 237.5 kB / 1.243 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5572, allocations: 4 kB / 1.243 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.5574, allocations: 31.97 kB / 1.243 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.5579, allocations: 72.77 kB / 1.243 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.5579, allocations: 7.938 kB / 1.243 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.56, allocations: 1.681 MB / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.56, allocations: 144 / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5612, allocations: 392 kB / 1.245 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5614, allocations: 105 kB / 1.245 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.5614, allocations: 7.938 kB / 1.245 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.5616, allocations: 19.91 kB / 1.245 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.5617, allocations: 15.98 kB / 1.245 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5617, allocations: 0 / 1.245 GB, free: 14.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.5618, allocations: 117.1 kB / 1.246 GB, free: 14.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5618, allocations: 0 / 1.246 GB, free: 14.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003898/0.5622, allocations: 43.94 kB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002434/0.5625, allocations: 119.2 kB / 1.246 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009421/0.5634, allocations: 310.6 kB / 1.246 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5635, allocations: 0 / 1.246 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.564, allocations: 234.5 kB / 1.246 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.5643, allocations: 25.73 kB / 1.246 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.5652, allocations: 307.5 kB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.5655, allocations: 0.7046 MB / 1.247 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000137/0.5657, allocations: 28.81 kB / 1.247 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.5658, allocations: 23.42 kB / 1.247 GB, free: 12.89 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/0.5658, allocations: 0 / 1.247 GB, free: 12.89 MB / 1.014 GB Notification: Performance of Templates: time 0.007106/0.5729, allocations: 3.206 MB / 1.25 GB, free: 9.707 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches