Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001075/0.001075, allocations: 92.31 kB / 16.02 MB, free: 80 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.001582/0.001582, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 12 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001875/0.3369, allocations: 1.388 MB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.5058, allocations: 145.8 MB / 1.203 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.506, allocations: 0 / 1.203 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.5062, allocations: 19.88 kB / 1.203 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.5065, allocations: 51.69 kB / 1.203 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.507, allocations: 151.5 kB / 1.203 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.5073, allocations: 159.5 kB / 1.203 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.5075, allocations: 29.39 kB / 1.203 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.5095, allocations: 179 kB / 1.204 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.5096, allocations: 51.77 kB / 1.204 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.5096, allocations: 4 kB / 1.204 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.51, allocations: 171.7 kB / 1.204 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.51, allocations: 19.92 kB / 1.204 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.5101, allocations: 73.42 kB / 1.204 GB, free: 276 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.5104, allocations: 139.7 kB / 1.204 GB, free: 136 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5104, allocations: 0 / 1.204 GB, free: 136 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5104, allocations: 0 / 1.204 GB, free: 136 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5104, allocations: 0 / 1.204 GB, free: 136 kB / 0.9512 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.0008759/0.5113, allocations: 459.1 kB / 1.205 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5113, allocations: 8.031 kB / 1.205 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.512, allocations: 64.62 kB / 1.205 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5122, allocations: 206.8 kB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5122, allocations: 4 kB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.5122, allocations: 8 kB / 1.205 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.5127, allocations: 195.3 kB / 1.205 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.5127, allocations: 3.984 kB / 1.205 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.5128, allocations: 3.984 kB / 1.205 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5128, allocations: 4 kB / 1.205 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.5134, allocations: 179.7 kB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5146, allocations: 0.8324 MB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.515, allocations: 138.5 kB / 1.206 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.5153, allocations: 96.78 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5153, allocations: 0 / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5153, allocations: 34.56 kB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.5153, allocations: 0 / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002024/0.5174, allocations: 499.3 kB / 1.207 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5174, allocations: 55.41 kB / 1.207 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5176, allocations: 151.6 kB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.5176, allocations: 25.7 kB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.5177, allocations: 100.2 kB / 1.207 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.5177, allocations: 31.55 kB / 1.207 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.5177, allocations: 17.72 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5179, allocations: 322.8 kB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.5181, allocations: 79.94 kB / 1.207 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.5184, allocations: 116.2 kB / 1.208 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.519, allocations: 204.1 kB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.519, allocations: 7.922 kB / 1.208 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00107/0.52, allocations: 302.1 kB / 1.208 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5201, allocations: 7.938 kB / 1.208 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5201, allocations: 0 / 1.208 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.5207, allocations: 84.89 kB / 1.208 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.5209, allocations: 39.95 kB / 1.208 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.5231, allocations: 1.553 MB / 1.21 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.5233, allocations: 27.98 kB / 1.21 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.5234, allocations: 7.984 kB / 1.21 GB, free: 9.879 MB / 0.9669 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.0001168/0.5235, allocations: 129.7 kB / 1.21 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.5235, allocations: 7.906 kB / 1.21 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.5247, allocations: 330.9 kB / 1.21 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5247, allocations: 4 kB / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.5247, allocations: 0 / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5247, allocations: 3.938 kB / 1.21 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.525, allocations: 237.5 kB / 1.21 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.525, allocations: 0 / 1.21 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5252, allocations: 39.95 kB / 1.21 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.5257, allocations: 84.77 kB / 1.211 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.5258, allocations: 8 kB / 1.211 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.5276, allocations: 1.583 MB / 1.212 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5276, allocations: 0 / 1.212 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5287, allocations: 403.4 kB / 1.212 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.5288, allocations: 104.9 kB / 1.213 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.5288, allocations: 4 kB / 1.213 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.529, allocations: 19.98 kB / 1.213 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.5291, allocations: 11.98 kB / 1.213 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5291, allocations: 15.92 kB / 1.213 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.5292, allocations: 114 kB / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.5292, allocations: 0 / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003287/0.5295, allocations: 55.94 kB / 1.213 GB, free: 6.512 MB / 0.9669 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.0001704/0.5297, allocations: 111.2 kB / 1.213 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009622/0.5307, allocations: 326.7 kB / 1.213 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5307, allocations: 0 / 1.213 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.5313, allocations: 246.5 kB / 1.213 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.5316, allocations: 25.81 kB / 1.213 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.5324, allocations: 377.4 kB / 1.214 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5327, allocations: 0.7164 MB / 1.215 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.5328, allocations: 19.42 kB / 1.215 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.5328, allocations: 0 / 1.215 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of Templates: time 0.004512/0.5373, allocations: 2.712 MB / 1.217 GB, free: 1.91 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches