Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_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_11_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.00136/0.00136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.465 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.91/2.91, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.94 kB / 0.908 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003394/0.3032, allocations: 1.727 MB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.4822, allocations: 147.5 MB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4824, allocations: 3.938 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.4826, allocations: 19.86 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.4829, allocations: 43.7 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.4834, allocations: 171.5 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.4836, allocations: 163.5 kB / 1.21 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4838, allocations: 25.39 kB / 1.21 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.4859, allocations: 193.5 kB / 1.21 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.486, allocations: 63.77 kB / 1.21 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4861, allocations: 8 kB / 1.21 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.4864, allocations: 171.7 kB / 1.21 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.4864, allocations: 27.91 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.4865, allocations: 51.73 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.4869, allocations: 211.4 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4869, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.624e-06/0.4869, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4869, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 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.0009425/0.4878, allocations: 463 kB / 1.211 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4879, allocations: 8.031 kB / 1.211 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/0.4886, allocations: 64.69 kB / 1.211 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4888, allocations: 194.8 kB / 1.211 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4888, allocations: 8 kB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4889, allocations: 4 kB / 1.211 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.4894, allocations: 192.1 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4894, allocations: 0 / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4894, allocations: 7.984 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4894, allocations: 4 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.49, allocations: 151.7 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.4912, allocations: 0.8207 MB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.4917, allocations: 138.4 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.492, allocations: 84.78 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.492, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4921, allocations: 34.56 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4921, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002111/0.4942, allocations: 463.3 kB / 1.213 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4942, allocations: 51.41 kB / 1.213 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4944, allocations: 156.4 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4944, allocations: 25.7 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.4945, allocations: 100.2 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4946, allocations: 35.55 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.4946, allocations: 29.7 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.4948, allocations: 322.8 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.4951, allocations: 75.86 kB / 1.214 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.4954, allocations: 100.2 kB / 1.214 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.4959, allocations: 180.1 kB / 1.214 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4959, allocations: 0 / 1.214 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001117/0.497, allocations: 278.4 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4971, allocations: 12.06 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4971, allocations: 4 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/0.4977, allocations: 84.7 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.498, allocations: 35.95 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.5004, allocations: 1.662 MB / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.5007, allocations: 19.89 kB / 1.216 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5007, allocations: 12.05 kB / 1.216 GB, free: 1.453 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.0001369/0.5009, allocations: 131.9 kB / 1.216 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.5009, allocations: 7.906 kB / 1.216 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.5021, allocations: 323.4 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5021, allocations: 0 / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.5021, allocations: 0 / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5021, allocations: 0 / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.5024, allocations: 237.5 kB / 1.217 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5024, allocations: 0 / 1.217 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.5027, allocations: 27.97 kB / 1.217 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.5032, allocations: 80.77 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.5032, allocations: 7.938 kB / 1.217 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.5054, allocations: 1.685 MB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5055, allocations: 3.984 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5066, allocations: 381 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5067, allocations: 108.9 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5067, allocations: 8 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.507, allocations: 19.91 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/0.507, allocations: 11.98 kB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.5071, allocations: 8 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.788e-05/0.5072, allocations: 117.7 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5072, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003611/0.5075, allocations: 43.94 kB / 1.219 GB, free: 14.03 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: 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.0001932/0.5077, allocations: 111.2 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009688/0.5087, allocations: 315.1 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5087, allocations: 0 / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.5093, allocations: 230.8 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.5097, allocations: 27.92 kB / 1.22 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.5106, allocations: 356.1 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.511, allocations: 0.7124 MB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.5112, allocations: 20.88 kB / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.5112, allocations: 15.44 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5112, allocations: 0 / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.007472/0.5187, allocations: 3.098 MB / 1.224 GB, free: 9.105 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches