Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001155/0.001154, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001235/0.001235, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.38 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2911, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003259/0.2944, allocations: 1.676 MB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7687/1.063, allocations: 149.7 MB / 1.166 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/1.063, allocations: 0.8125 kB / 1.166 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/1.064, allocations: 28.88 kB / 1.166 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/1.064, allocations: 53.67 kB / 1.166 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/1.065, allocations: 185.7 kB / 1.166 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/1.065, allocations: 162 kB / 1.166 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/1.065, allocations: 36.66 kB / 1.166 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/1.067, allocations: 181.8 kB / 1.166 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/1.067, allocations: 60.34 kB / 1.166 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/1.067, allocations: 8.719 kB / 1.166 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/1.067, allocations: 169.5 kB / 1.167 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/1.067, allocations: 21.89 kB / 1.167 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/1.067, allocations: 54.05 kB / 1.167 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/1.068, allocations: 205.2 kB / 1.167 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.068, allocations: 1.219 kB / 1.167 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.332e-06/1.068, allocations: 0 / 1.167 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.068, allocations: 0 / 1.167 GB, free: 3.277 MB / 0.8731 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.001039/1.069, allocations: 464.9 kB / 1.167 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.069, allocations: 9.281 kB / 1.167 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007264/1.07, allocations: 52.02 kB / 1.167 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/1.07, allocations: 214.5 kB / 1.168 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.07, allocations: 7.156 kB / 1.168 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.07, allocations: 7.938 kB / 1.168 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/1.071, allocations: 181.4 kB / 1.168 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.071, allocations: 1.5 kB / 1.168 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.071, allocations: 3.984 kB / 1.168 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.071, allocations: 6.344 kB / 1.168 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/1.071, allocations: 147.3 kB / 1.168 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.072, allocations: 0.8357 MB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.073, allocations: 124.4 kB / 1.169 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/1.073, allocations: 86.06 kB / 1.169 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.073, allocations: 1.031 kB / 1.169 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.073, allocations: 31.78 kB / 1.169 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/1.073, allocations: 0 / 1.169 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.002073/1.075, allocations: 463 kB / 1.169 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.075, allocations: 56.53 kB / 1.169 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/1.076, allocations: 161.7 kB / 1.17 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/1.076, allocations: 26.73 kB / 1.17 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/1.076, allocations: 108.8 kB / 1.17 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/1.076, allocations: 25.08 kB / 1.17 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/1.076, allocations: 37.64 kB / 1.17 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.076, allocations: 319.2 kB / 1.17 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/1.076, allocations: 69.67 kB / 1.17 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/1.077, allocations: 106.9 kB / 1.17 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/1.077, allocations: 184.8 kB / 1.17 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.077, allocations: 1.125 kB / 1.17 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001154/1.078, allocations: 285 kB / 1.171 GB, free: 428 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.078, allocations: 5.75 kB / 1.171 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.078, allocations: 5.188 kB / 1.171 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/1.079, allocations: 85.2 kB / 1.171 GB, free: 408 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.079, allocations: 29.88 kB / 1.171 GB, free: 408 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/1.082, allocations: 1.671 MB / 1.172 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/1.082, allocations: 24.92 kB / 1.173 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/1.082, allocations: 7.266 kB / 1.173 GB, free: 14.87 MB / 0.8887 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.0001329/1.082, allocations: 123.1 kB / 1.173 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/1.083, allocations: 8.188 kB / 1.173 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.084, allocations: 309.3 kB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.084, allocations: 5.031 kB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/1.084, allocations: 0 / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.084, allocations: 2.938 kB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/1.084, allocations: 244.2 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.084, allocations: 5.281 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.084, allocations: 32.11 kB / 1.173 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/1.085, allocations: 77.41 kB / 1.173 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.085, allocations: 3.578 kB / 1.173 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/1.087, allocations: 1.684 MB / 1.175 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.087, allocations: 0 / 1.175 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.088, allocations: 383.3 kB / 1.175 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.088, allocations: 108.5 kB / 1.175 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/1.088, allocations: 1.531 kB / 1.175 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/1.088, allocations: 21.28 kB / 1.175 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/1.089, allocations: 20.52 kB / 1.175 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/1.089, allocations: 3.375 kB / 1.175 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 9.281e-05/1.089, allocations: 117.1 kB / 1.176 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.11e-07/1.089, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003829/1.089, allocations: 44.34 kB / 1.176 GB, free: 12.4 MB / 0.8887 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.000236/1.089, allocations: 114 kB / 1.176 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.09, allocations: 311.7 kB / 1.176 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.09, allocations: 3.938 kB / 1.176 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/1.091, allocations: 231.4 kB / 1.176 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/1.091, allocations: 33.89 kB / 1.176 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.092, allocations: 335.5 kB / 1.177 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/1.093, allocations: 0.7171 MB / 1.177 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/1.093, allocations: 22.95 kB / 1.177 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of SimCode: time 2.11e-07/1.093, allocations: 1.25 kB / 1.177 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.006199/1.099, allocations: 2.726 MB / 1.18 GB, free: 9.504 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches