Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.591/2.591, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 59.91 kB / 0.9515 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2932, allocations: 169.9 MB / 1.117 GB, free: 2.656 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003457/0.2967, allocations: 1.874 MB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6982/0.9949, allocations: 136.7 MB / 1.253 GB, free: 2.762 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.995, allocations: 1.969 kB / 1.253 GB, free: 2.762 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.9952, allocations: 31.28 kB / 1.253 GB, free: 2.738 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.9955, allocations: 75.08 kB / 1.253 GB, free: 2.688 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.9963, allocations: 266.4 kB / 1.253 GB, free: 2.555 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.9966, allocations: 263.3 kB / 1.253 GB, free: 2.434 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.9967, allocations: 51.14 kB / 1.253 GB, free: 2.41 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.9982, allocations: 249.3 kB / 1.254 GB, free: 2.336 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.9984, allocations: 85.67 kB / 1.254 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.9984, allocations: 14.59 kB / 1.254 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.9988, allocations: 183.8 kB / 1.254 GB, free: 2.254 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.9988, allocations: 38.53 kB / 1.254 GB, free: 2.234 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.9989, allocations: 83.14 kB / 1.254 GB, free: 2.191 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.9994, allocations: 293.6 kB / 1.254 GB, free: 2.09 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.9994, allocations: 0 / 1.254 GB, free: 2.09 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9994, allocations: 4 kB / 1.254 GB, free: 2.086 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9994, allocations: 0.6094 kB / 1.254 GB, free: 2.086 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009707/1, allocations: 466.2 kB / 1.255 GB, free: 1.723 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1, allocations: 13.27 kB / 1.255 GB, free: 1.719 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.002, allocations: 119.5 kB / 1.255 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/1.002, allocations: 166.6 kB / 1.255 GB, free: 1.543 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.002, allocations: 72.62 kB / 1.255 GB, free: 1.469 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/1.002, allocations: 13.62 kB / 1.255 GB, free: 1.465 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/1.003, allocations: 313.8 kB / 1.255 GB, free: 1.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.003, allocations: 1.375 kB / 1.255 GB, free: 1.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.003, allocations: 15.48 kB / 1.255 GB, free: 1.238 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.003, allocations: 8.062 kB / 1.255 GB, free: 1.234 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/1.003, allocations: 167.6 kB / 1.256 GB, free: 1.184 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.005, allocations: 1.069 MB / 1.257 GB, free: 284 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/1.006, allocations: 200 kB / 1.257 GB, free: 216 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.006, allocations: 70.92 kB / 1.257 GB, free: 184 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/1.006, allocations: 5.109 kB / 1.257 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.006, allocations: 33.31 kB / 1.257 GB, free: 140 kB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/1.006, allocations: 0 / 1.257 GB, free: 140 kB / 1.107 GB Notification: Performance of matching and sorting (n=12): time 0.002813/1.009, allocations: 487.2 kB / 1.257 GB, free: 15.99 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.009, allocations: 53.66 kB / 1.257 GB, free: 15.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/1.009, allocations: 189.4 kB / 1.258 GB, free: 15.8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.009, allocations: 34.86 kB / 1.258 GB, free: 15.76 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/1.009, allocations: 144.7 kB / 1.258 GB, free: 15.63 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/1.009, allocations: 44.47 kB / 1.258 GB, free: 15.6 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/1.009, allocations: 51.09 kB / 1.258 GB, free: 15.57 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.009, allocations: 324.8 kB / 1.258 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.01, allocations: 70.17 kB / 1.258 GB, free: 15.23 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/1.01, allocations: 163.3 kB / 1.258 GB, free: 15.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/1.01, allocations: 200.7 kB / 1.259 GB, free: 14.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.01, allocations: 0 / 1.259 GB, free: 14.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001562/1.012, allocations: 374.2 kB / 1.259 GB, free: 14.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.012, allocations: 6.844 kB / 1.259 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.012, allocations: 4.188 kB / 1.259 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.013, allocations: 162.7 kB / 1.259 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.013, allocations: 39.62 kB / 1.259 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.017, allocations: 2.992 MB / 1.262 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/1.018, allocations: 29.97 kB / 1.262 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.018, allocations: 11.89 kB / 1.262 GB, free: 12.09 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.018, allocations: 136.7 kB / 1.262 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/1.018, allocations: 19.81 kB / 1.262 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/1.019, allocations: 368.3 kB / 1.263 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.019, allocations: 2.953 kB / 1.263 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.019, allocations: 4 kB / 1.263 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.019, allocations: 0.7969 kB / 1.263 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/1.02, allocations: 195.5 kB / 1.263 GB, free: 11.63 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.02, allocations: 0.8438 kB / 1.263 GB, free: 11.63 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.02, allocations: 19.98 kB / 1.263 GB, free: 11.63 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/1.021, allocations: 145.5 kB / 1.263 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.021, allocations: 1.031 kB / 1.263 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/1.025, allocations: 3.036 MB / 1.266 GB, free: 8.871 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.025, allocations: 1.484 kB / 1.266 GB, free: 8.871 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.026, allocations: 438.1 kB / 1.266 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/1.026, allocations: 31.94 kB / 1.266 GB, free: 8.621 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.026, allocations: 5.484 kB / 1.266 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.026, allocations: 12.52 kB / 1.266 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/1.026, allocations: 19.55 kB / 1.266 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/1.026, allocations: 5.641 kB / 1.266 GB, free: 8.613 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001717/1.027, allocations: 136.4 kB / 1.267 GB, free: 8.52 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.027, allocations: 0.9375 kB / 1.267 GB, free: 8.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004515/1.027, allocations: 79.73 kB / 1.267 GB, free: 8.5 MB / 1.123 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/1.027, allocations: 113.9 kB / 1.267 GB, free: 8.402 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.028, allocations: 443 kB / 1.267 GB, free: 8.113 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.028, allocations: 0 / 1.267 GB, free: 8.113 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/1.029, allocations: 354.5 kB / 1.268 GB, free: 7.848 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.03, allocations: 53.67 kB / 1.268 GB, free: 7.824 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/1.031, allocations: 416.3 kB / 1.268 GB, free: 7.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/1.031, allocations: 120.3 kB / 1.268 GB, free: 7.516 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001538/1.031, allocations: 33.34 kB / 1.268 GB, free: 7.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/1.031, allocations: 20.23 kB / 1.268 GB, free: 7.492 MB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/1.031, allocations: 4 kB / 1.268 GB, free: 7.488 MB / 1.123 GB Notification: Performance of Templates: time 0.01036/1.041, allocations: 4.878 MB / 1.273 GB, free: 7 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.643817172036506]