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.001792/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002023/0.002023, allocations: 194.7 kB / 16.14 MB, free: 6.629 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.747/2.747, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.7001, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002871/0.703, allocations: 1.741 MB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.8777, allocations: 147.4 MB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.8779, allocations: 4 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.8781, allocations: 15.86 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.8785, allocations: 55.69 kB / 1.162 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.879, allocations: 163.5 kB / 1.162 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.8793, allocations: 151.5 kB / 1.163 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.8794, allocations: 27.09 kB / 1.163 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.8818, allocations: 183.6 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.882, allocations: 59.77 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.882, allocations: 4 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.8824, allocations: 167.7 kB / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.8825, allocations: 23.91 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.8826, allocations: 51.73 kB / 1.163 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.883, allocations: 203.4 kB / 1.163 GB, free: 12.04 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.883, allocations: 0 / 1.163 GB, free: 12.04 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.883, allocations: 0 / 1.163 GB, free: 12.04 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.883, allocations: 0 / 1.163 GB, free: 12.04 MB / 0.92 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.001095/0.8841, allocations: 467 kB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.8842, allocations: 11.97 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.8849, allocations: 56.69 kB / 1.164 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.8852, allocations: 205 kB / 1.164 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.8852, allocations: 8 kB / 1.164 GB, free: 11.22 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.8852, allocations: 8 kB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.8858, allocations: 187.7 kB / 1.164 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8858, allocations: 0 / 1.164 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.8858, allocations: 4 kB / 1.164 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8858, allocations: 4 kB / 1.164 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.8864, allocations: 143.8 kB / 1.164 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.8877, allocations: 0.8281 MB / 1.165 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.8881, allocations: 134.4 kB / 1.165 GB, free: 9.816 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.8884, allocations: 76.8 kB / 1.165 GB, free: 9.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.8884, allocations: 8 kB / 1.165 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.8885, allocations: 30.56 kB / 1.165 GB, free: 9.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.8885, allocations: 0 / 1.165 GB, free: 9.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.002123/0.8906, allocations: 463.2 kB / 1.166 GB, free: 9.211 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8907, allocations: 55.41 kB / 1.166 GB, free: 9.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.8908, allocations: 155.4 kB / 1.166 GB, free: 8.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.8909, allocations: 29.7 kB / 1.166 GB, free: 8.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.891, allocations: 108.2 kB / 1.166 GB, free: 8.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.891, allocations: 27.56 kB / 1.166 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.8911, allocations: 29.69 kB / 1.166 GB, free: 8.773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8912, allocations: 318.8 kB / 1.167 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.8915, allocations: 75.92 kB / 1.167 GB, free: 8.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.8918, allocations: 104.2 kB / 1.167 GB, free: 8.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.8923, allocations: 180.1 kB / 1.167 GB, free: 8.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8923, allocations: 4 kB / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001114/0.8935, allocations: 278.1 kB / 1.167 GB, free: 7.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8935, allocations: 7.938 kB / 1.167 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8935, allocations: 4 kB / 1.167 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.8942, allocations: 88.83 kB / 1.167 GB, free: 7.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.8944, allocations: 35.94 kB / 1.167 GB, free: 7.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.8968, allocations: 1.547 MB / 1.169 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.8971, allocations: 27.81 kB / 1.169 GB, free: 5.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.8971, allocations: 4 kB / 1.169 GB, free: 5.934 MB / 0.92 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.0001325/0.8973, allocations: 133.8 kB / 1.169 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.8973, allocations: 11.89 kB / 1.169 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.8985, allocations: 306.9 kB / 1.169 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8985, allocations: 4 kB / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.8985, allocations: 0 / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8985, allocations: 4.125 kB / 1.169 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.8988, allocations: 245.3 kB / 1.169 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8989, allocations: 3.984 kB / 1.17 GB, free: 5.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.8991, allocations: 31.95 kB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.8996, allocations: 84.77 kB / 1.17 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.8997, allocations: 7.984 kB / 1.17 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.9018, allocations: 1.571 MB / 1.171 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9018, allocations: 0 / 1.171 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9029, allocations: 369.9 kB / 1.172 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.9031, allocations: 116.8 kB / 1.172 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.9031, allocations: 0 / 1.172 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.9033, allocations: 15.98 kB / 1.172 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.9034, allocations: 15.91 kB / 1.172 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.9034, allocations: 4 kB / 1.172 GB, free: 2.785 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.177e-05/0.9035, allocations: 121.4 kB / 1.172 GB, free: 2.668 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9035, allocations: 0 / 1.172 GB, free: 2.668 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003465/0.9039, allocations: 44 kB / 1.172 GB, free: 2.625 MB / 0.92 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.000209/0.9041, allocations: 111.8 kB / 1.172 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009349/0.905, allocations: 306.7 kB / 1.172 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9051, allocations: 0 / 1.172 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.9057, allocations: 234.5 kB / 1.172 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.906, allocations: 31.86 kB / 1.172 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.9069, allocations: 351.3 kB / 1.173 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.9073, allocations: 0.7088 MB / 1.173 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.9075, allocations: 29 kB / 1.174 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.9075, allocations: 19.42 kB / 1.174 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.9076, allocations: 0 / 1.174 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of Templates: time 0.00729/0.9148, allocations: 2.946 MB / 1.176 GB, free: 13.85 MB / 0.9356 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=400 -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/jenkins/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