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.001767/0.001767, allocations: 110.8 kB / 15.99 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.002016/0.002016, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.66 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00305/0.3326, allocations: 1.722 MB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.718/1.051, allocations: 147.5 MB / 1.21 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/1.051, allocations: 0.9688 kB / 1.21 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/1.051, allocations: 21.14 kB / 1.21 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000351/1.052, allocations: 44.52 kB / 1.21 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/1.052, allocations: 170.8 kB / 1.21 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/1.052, allocations: 159.8 kB / 1.21 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/1.053, allocations: 27.69 kB / 1.21 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/1.055, allocations: 190.7 kB / 1.21 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.055, allocations: 64.72 kB / 1.211 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/1.055, allocations: 9.062 kB / 1.211 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/1.055, allocations: 170.9 kB / 1.211 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/1.056, allocations: 23.91 kB / 1.211 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/1.056, allocations: 55.59 kB / 1.211 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/1.056, allocations: 140.5 kB / 1.211 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.056, allocations: 5.25 kB / 1.211 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.056, allocations: 0 / 1.211 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.056, allocations: 0 / 1.211 GB, free: 14.02 MB / 0.9356 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.001009/1.057, allocations: 464 kB / 1.211 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.057, allocations: 9.656 kB / 1.211 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006676/1.058, allocations: 60.47 kB / 1.211 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.058, allocations: 214.1 kB / 1.212 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.058, allocations: 8.062 kB / 1.212 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/1.058, allocations: 4.719 kB / 1.212 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/1.059, allocations: 187.6 kB / 1.212 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.059, allocations: 0 / 1.212 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/1.059, allocations: 5.219 kB / 1.212 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.059, allocations: 6.266 kB / 1.212 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/1.059, allocations: 145.7 kB / 1.212 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/1.06, allocations: 0.8204 MB / 1.213 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/1.061, allocations: 129.1 kB / 1.213 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/1.061, allocations: 80.3 kB / 1.213 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/1.061, allocations: 1.156 kB / 1.213 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/1.061, allocations: 33.22 kB / 1.213 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.061, allocations: 4 kB / 1.213 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.002054/1.063, allocations: 466.7 kB / 1.213 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.063, allocations: 52.53 kB / 1.214 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/1.064, allocations: 153.3 kB / 1.214 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.064, allocations: 26.77 kB / 1.214 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.064, allocations: 108.8 kB / 1.214 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/1.064, allocations: 30.78 kB / 1.214 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/1.064, allocations: 38.62 kB / 1.214 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.064, allocations: 321.8 kB / 1.214 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.064, allocations: 71.09 kB / 1.214 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/1.065, allocations: 107.9 kB / 1.214 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/1.065, allocations: 176.8 kB / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.065, allocations: 0 / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001109/1.066, allocations: 275.6 kB / 1.215 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.066, allocations: 7.094 kB / 1.215 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.066, allocations: 5.234 kB / 1.215 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/1.067, allocations: 81.7 kB / 1.215 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.067, allocations: 41.23 kB / 1.215 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/1.07, allocations: 1.668 MB / 1.217 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/1.07, allocations: 26.5 kB / 1.217 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.07, allocations: 3.688 kB / 1.217 GB, free: 9.012 MB / 0.9356 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.0001578/1.07, allocations: 128.9 kB / 1.217 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/1.07, allocations: 13.14 kB / 1.217 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.071, allocations: 308.1 kB / 1.217 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.071, allocations: 5.125 kB / 1.217 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/1.071, allocations: 0 / 1.217 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.071, allocations: 1.188 kB / 1.217 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/1.072, allocations: 236.9 kB / 1.217 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.072, allocations: 1.156 kB / 1.217 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.072, allocations: 35.55 kB / 1.217 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/1.073, allocations: 74.12 kB / 1.217 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/1.073, allocations: 9.359 kB / 1.217 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/1.075, allocations: 1.688 MB / 1.219 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.075, allocations: 3.938 kB / 1.219 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.077, allocations: 383.5 kB / 1.219 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/1.077, allocations: 104.7 kB / 1.219 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/1.077, allocations: 5.312 kB / 1.219 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/1.077, allocations: 12.58 kB / 1.219 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.077, allocations: 21.42 kB / 1.219 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/1.077, allocations: 6.703 kB / 1.219 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001533/1.077, allocations: 122.2 kB / 1.22 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.077, allocations: 0 / 1.22 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004363/1.078, allocations: 43.91 kB / 1.22 GB, free: 6.223 MB / 0.9356 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.0002805/1.078, allocations: 116.1 kB / 1.22 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001106/1.079, allocations: 306.5 kB / 1.22 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.079, allocations: 0 / 1.22 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/1.08, allocations: 226.6 kB / 1.22 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.08, allocations: 26.98 kB / 1.22 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/1.081, allocations: 389 kB / 1.221 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/1.082, allocations: 0.7093 MB / 1.221 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/1.082, allocations: 19.67 kB / 1.221 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.082, allocations: 4 kB / 1.221 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of Templates: time 0.00651/1.088, allocations: 2.729 MB / 1.224 GB, free: 3.293 MB / 0.9356 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/jenkins1/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