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.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.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.01025/0.01025, allocations: 107 kB / 15.74 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.001593/0.001593, allocations: 195 kB / 16.68 MB, free: 5.98 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 62.28 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3632, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002723/0.366, allocations: 1.663 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.5392, allocations: 149.7 MB / 1.236 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.5393, allocations: 3.938 kB / 1.236 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.5396, allocations: 23.8 kB / 1.236 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.5398, allocations: 47.64 kB / 1.236 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.5403, allocations: 187.3 kB / 1.236 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.5406, allocations: 167.5 kB / 1.236 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.5407, allocations: 29.06 kB / 1.236 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.542, allocations: 204.6 kB / 1.236 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.5421, allocations: 59.77 kB / 1.236 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.5421, allocations: 8 kB / 1.236 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.5424, allocations: 167.7 kB / 1.237 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.5425, allocations: 23.92 kB / 1.237 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.5425, allocations: 55.72 kB / 1.237 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.5429, allocations: 199.5 kB / 1.237 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.5429, allocations: 3.984 kB / 1.237 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5429, allocations: 3.938 kB / 1.237 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5429, allocations: 0 / 1.237 GB, free: 8.375 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.0008403/0.5438, allocations: 459 kB / 1.237 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5438, allocations: 12.03 kB / 1.237 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/0.5445, allocations: 60.69 kB / 1.237 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5447, allocations: 202.8 kB / 1.238 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5447, allocations: 4 kB / 1.238 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.5447, allocations: 12 kB / 1.238 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.5452, allocations: 187.4 kB / 1.238 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5452, allocations: 3.984 kB / 1.238 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.5452, allocations: 8 kB / 1.238 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5452, allocations: 0 / 1.238 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.5457, allocations: 143.8 kB / 1.238 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.5468, allocations: 0.8244 MB / 1.239 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.5472, allocations: 130.5 kB / 1.239 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.5474, allocations: 84.73 kB / 1.239 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5474, allocations: 0 / 1.239 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5475, allocations: 38.5 kB / 1.239 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.5475, allocations: 4 kB / 1.239 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001814/0.5493, allocations: 463.2 kB / 1.239 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5493, allocations: 59.34 kB / 1.239 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5495, allocations: 152.4 kB / 1.24 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5495, allocations: 25.7 kB / 1.24 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.5496, allocations: 108.3 kB / 1.24 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.5496, allocations: 31.55 kB / 1.24 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.5497, allocations: 33.7 kB / 1.24 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5498, allocations: 318.8 kB / 1.24 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.55, allocations: 75.86 kB / 1.24 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.5503, allocations: 100.2 kB / 1.24 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.5508, allocations: 180.1 kB / 1.24 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5508, allocations: 4 kB / 1.24 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009868/0.5518, allocations: 282.1 kB / 1.241 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5518, allocations: 7.938 kB / 1.241 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5518, allocations: 128 / 1.241 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.5524, allocations: 88.77 kB / 1.241 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.5526, allocations: 39.89 kB / 1.241 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.5547, allocations: 1.648 MB / 1.242 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.555, allocations: 23.86 kB / 1.242 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.555, allocations: 11.98 kB / 1.242 GB, free: 2.156 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.0001186/0.5551, allocations: 117.8 kB / 1.243 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.5552, allocations: 15.84 kB / 1.243 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5562, allocations: 314.4 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5562, allocations: 4 kB / 1.243 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.5562, allocations: 0 / 1.243 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5562, allocations: 7.938 kB / 1.243 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.5565, allocations: 237.5 kB / 1.243 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5565, allocations: 3.938 kB / 1.243 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.5567, allocations: 31.97 kB / 1.243 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.5571, allocations: 72.95 kB / 1.243 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.5572, allocations: 11.94 kB / 1.243 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.559, allocations: 1.681 MB / 1.245 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.559, allocations: 4.062 kB / 1.245 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.56, allocations: 379.9 kB / 1.245 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.5601, allocations: 101 kB / 1.245 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5601, allocations: 7.938 kB / 1.245 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5603, allocations: 19.91 kB / 1.245 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.5604, allocations: 19.98 kB / 1.245 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5604, allocations: 4 kB / 1.245 GB, free: 14.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.5605, allocations: 113.5 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5605, allocations: 4 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003396/0.5608, allocations: 43.94 kB / 1.246 GB, free: 14.74 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.0001814/0.561, allocations: 115.2 kB / 1.246 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008694/0.5619, allocations: 306.4 kB / 1.246 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5619, allocations: 4.25 kB / 1.246 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.5624, allocations: 226.6 kB / 1.246 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.5628, allocations: 27.98 kB / 1.246 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.5636, allocations: 307.4 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.5639, allocations: 0.7124 MB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.564, allocations: 28.95 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.5641, allocations: 23.42 kB / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.5641, allocations: 0 / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of Templates: time 0.0067/0.5708, allocations: 3.237 MB / 1.25 GB, free: 9.715 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