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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 189.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 71.88 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7763, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003008/0.7794, allocations: 1.695 MB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.9646, allocations: 150.2 MB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.9647, allocations: 4 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.9649, allocations: 23.73 kB / 1.367 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.9652, allocations: 59.62 kB / 1.367 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.9657, allocations: 187.3 kB / 1.367 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.9659, allocations: 163.5 kB / 1.367 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.9661, allocations: 23.97 kB / 1.367 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.9675, allocations: 199.5 kB / 1.367 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.9676, allocations: 67.73 kB / 1.367 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.9677, allocations: 15.94 kB / 1.367 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.968, allocations: 163.7 kB / 1.368 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.9681, allocations: 27.91 kB / 1.368 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.9682, allocations: 55.72 kB / 1.368 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.9685, allocations: 199 kB / 1.368 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9685, allocations: 0 / 1.368 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9685, allocations: 0 / 1.368 GB, free: 13.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9685, allocations: 0 / 1.368 GB, free: 13.68 MB / 1.076 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.000893/0.9694, allocations: 478.5 kB / 1.368 GB, free: 13.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.9695, allocations: 8.031 kB / 1.368 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.9701, allocations: 56.83 kB / 1.368 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.9704, allocations: 206.8 kB / 1.369 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.9704, allocations: 8 kB / 1.369 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.9704, allocations: 8 kB / 1.369 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.9708, allocations: 184 kB / 1.369 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9709, allocations: 3.984 kB / 1.369 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.9709, allocations: 8 kB / 1.369 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9709, allocations: 0 / 1.369 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.9714, allocations: 143.8 kB / 1.369 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.9726, allocations: 0.8244 MB / 1.37 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.973, allocations: 134.4 kB / 1.37 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.9732, allocations: 76.8 kB / 1.37 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.9733, allocations: 0 / 1.37 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.9733, allocations: 38.5 kB / 1.37 GB, free: 11.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.9733, allocations: 0 / 1.37 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001919/0.9752, allocations: 463.4 kB / 1.37 GB, free: 10.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.9753, allocations: 51.41 kB / 1.37 GB, free: 10.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.9754, allocations: 158.2 kB / 1.371 GB, free: 10.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.9755, allocations: 25.7 kB / 1.371 GB, free: 10.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.9755, allocations: 108.3 kB / 1.371 GB, free: 10.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.9756, allocations: 39.88 kB / 1.371 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.9757, allocations: 33.66 kB / 1.371 GB, free: 10.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9758, allocations: 322.8 kB / 1.371 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.9761, allocations: 67.94 kB / 1.371 GB, free: 10.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.9764, allocations: 104.2 kB / 1.371 GB, free: 9.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.9769, allocations: 180.2 kB / 1.371 GB, free: 9.699 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9769, allocations: 0 / 1.371 GB, free: 9.699 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001079/0.9779, allocations: 274.2 kB / 1.372 GB, free: 9.422 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.978, allocations: 7.938 kB / 1.372 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.978, allocations: 4.125 kB / 1.372 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.9787, allocations: 88.7 kB / 1.372 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.979, allocations: 35.95 kB / 1.372 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.9817, allocations: 1.654 MB / 1.373 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.9819, allocations: 27.89 kB / 1.374 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.9819, allocations: 8 kB / 1.374 GB, free: 7.453 MB / 1.076 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.0001812/0.9821, allocations: 133.6 kB / 1.374 GB, free: 7.312 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.9822, allocations: 7.953 kB / 1.374 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.9832, allocations: 311.9 kB / 1.374 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9832, allocations: 4 kB / 1.374 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.9832, allocations: 0 / 1.374 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9832, allocations: 7.984 kB / 1.374 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.9836, allocations: 241.4 kB / 1.374 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9836, allocations: 3.984 kB / 1.374 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.9838, allocations: 27.97 kB / 1.374 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.9842, allocations: 72.78 kB / 1.374 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.9842, allocations: 15.92 kB / 1.374 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.9864, allocations: 1.674 MB / 1.376 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9864, allocations: 0 / 1.376 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.9875, allocations: 381.6 kB / 1.376 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.9876, allocations: 108.9 kB / 1.376 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.9876, allocations: 7.938 kB / 1.376 GB, free: 4.227 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.9879, allocations: 23.98 kB / 1.376 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.9879, allocations: 15.97 kB / 1.376 GB, free: 4.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.9879, allocations: 4 kB / 1.376 GB, free: 4.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001052/0.988, allocations: 111.2 kB / 1.377 GB, free: 4.074 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.988, allocations: 0 / 1.377 GB, free: 4.074 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000347/0.9884, allocations: 43.94 kB / 1.377 GB, free: 4.031 MB / 1.076 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.0001922/0.9886, allocations: 119.2 kB / 1.377 GB, free: 3.906 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009039/0.9895, allocations: 306.4 kB / 1.377 GB, free: 3.594 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9895, allocations: 8.188 kB / 1.377 GB, free: 3.586 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.99, allocations: 218.5 kB / 1.377 GB, free: 3.359 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.9904, allocations: 26.23 kB / 1.377 GB, free: 3.336 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.9912, allocations: 320.4 kB / 1.378 GB, free: 3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.9916, allocations: 0.7162 MB / 1.378 GB, free: 2.258 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.9917, allocations: 16.98 kB / 1.378 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.9918, allocations: 23.36 kB / 1.378 GB, free: 2.215 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.9918, allocations: 0 / 1.378 GB, free: 2.215 MB / 1.076 GB Notification: Performance of Templates: time 0.007593/0.9994, allocations: 3.36 MB / 1.382 GB, free: 14.88 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.790825662203133]