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.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.001552/0.001552, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001728/0.001728, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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_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: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.8551, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003331/0.8584, allocations: 1.938 MB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1946/1.053, allocations: 156 MB / 1.428 GB, free: 5.883 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/1.053, allocations: 7.938 kB / 1.428 GB, free: 5.875 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/1.054, allocations: 23.73 kB / 1.428 GB, free: 5.852 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/1.054, allocations: 83.41 kB / 1.428 GB, free: 5.77 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/1.055, allocations: 259.1 kB / 1.429 GB, free: 5.516 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/1.055, allocations: 267.1 kB / 1.429 GB, free: 5.254 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/1.056, allocations: 54.39 kB / 1.429 GB, free: 5.199 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/1.057, allocations: 256.8 kB / 1.429 GB, free: 4.973 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/1.057, allocations: 99.58 kB / 1.429 GB, free: 4.875 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/1.057, allocations: 12 kB / 1.429 GB, free: 4.863 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/1.058, allocations: 191.7 kB / 1.429 GB, free: 4.676 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/1.058, allocations: 39.84 kB / 1.429 GB, free: 4.637 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.058, allocations: 91.58 kB / 1.43 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/1.058, allocations: 294.8 kB / 1.43 GB, free: 4.258 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.058, allocations: 0 / 1.43 GB, free: 4.258 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/1.058, allocations: 0 / 1.43 GB, free: 4.258 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.058, allocations: 0 / 1.43 GB, free: 4.258 MB / 1.123 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.001267/1.06, allocations: 0.5258 MB / 1.43 GB, free: 3.684 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.06, allocations: 16.02 kB / 1.43 GB, free: 3.668 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/1.061, allocations: 79.83 kB / 1.43 GB, free: 3.59 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/1.061, allocations: 234.7 kB / 1.431 GB, free: 3.32 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.801e-05/1.061, allocations: 45.97 kB / 1.431 GB, free: 3.27 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.061, allocations: 12 kB / 1.431 GB, free: 3.258 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/1.062, allocations: 270.5 kB / 1.431 GB, free: 2.965 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.062, allocations: 0 / 1.431 GB, free: 2.965 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.062, allocations: 8 kB / 1.431 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.062, allocations: 4 kB / 1.431 GB, free: 2.953 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/1.062, allocations: 167.8 kB / 1.431 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/1.064, allocations: 1.181 MB / 1.432 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007947/1.065, allocations: 194.6 kB / 1.433 GB, free: 1.332 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/1.065, allocations: 72.81 kB / 1.433 GB, free: 1.258 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/1.065, allocations: 0 / 1.433 GB, free: 1.258 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.065, allocations: 30.56 kB / 1.433 GB, free: 1.219 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/1.065, allocations: 4 kB / 1.433 GB, free: 1.215 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002858/1.068, allocations: 0.6261 MB / 1.433 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.068, allocations: 55.41 kB / 1.433 GB, free: 484 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/1.068, allocations: 222.7 kB / 1.433 GB, free: 252 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.068, allocations: 33.64 kB / 1.434 GB, free: 212 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.068, allocations: 140.2 kB / 1.434 GB, free: 68 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.069, allocations: 39.66 kB / 1.434 GB, free: 28 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.069, allocations: 53.61 kB / 1.434 GB, free: 15.97 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.069, allocations: 326.8 kB / 1.434 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.069, allocations: 75.94 kB / 1.434 GB, free: 15.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/1.069, allocations: 123.7 kB / 1.434 GB, free: 15.42 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/1.07, allocations: 206.7 kB / 1.434 GB, free: 15.19 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.07, allocations: 4 kB / 1.434 GB, free: 15.19 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001561/1.071, allocations: 374.5 kB / 1.435 GB, free: 14.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.071, allocations: 4 kB / 1.435 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.071, allocations: 3.984 kB / 1.435 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.073, allocations: 165.8 kB / 1.435 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.073, allocations: 39.89 kB / 1.435 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/1.077, allocations: 3.253 MB / 1.438 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/1.078, allocations: 27.83 kB / 1.438 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/1.078, allocations: 15.98 kB / 1.438 GB, free: 11.01 MB / 1.139 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.0001599/1.078, allocations: 128.9 kB / 1.438 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/1.078, allocations: 15.91 kB / 1.438 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.079, allocations: 382.4 kB / 1.439 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/1.079, allocations: 7.938 kB / 1.439 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.079, allocations: 4 kB / 1.439 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.079, allocations: 0 / 1.439 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/1.08, allocations: 277.4 kB / 1.439 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.08, allocations: 0 / 1.439 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.08, allocations: 19.98 kB / 1.439 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008597/1.081, allocations: 137.6 kB / 1.439 GB, free: 9.984 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.081, allocations: 11.94 kB / 1.439 GB, free: 9.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/1.085, allocations: 3.301 MB / 1.442 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.085, allocations: 0 / 1.442 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/1.086, allocations: 433 kB / 1.443 GB, free: 5.934 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.087, allocations: 116.8 kB / 1.443 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.087, allocations: 7.984 kB / 1.443 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/1.087, allocations: 11.98 kB / 1.443 GB, free: 5.781 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/1.087, allocations: 23.91 kB / 1.443 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/1.087, allocations: 4 kB / 1.443 GB, free: 5.754 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002113/1.087, allocations: 167.2 kB / 1.443 GB, free: 5.59 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.087, allocations: 0 / 1.443 GB, free: 5.59 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004302/1.088, allocations: 71.94 kB / 1.443 GB, free: 5.52 MB / 1.139 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.0002051/1.088, allocations: 115.2 kB / 1.443 GB, free: 5.398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.089, allocations: 453.3 kB / 1.444 GB, free: 4.93 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.089, allocations: 384 / 1.444 GB, free: 4.93 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/1.09, allocations: 347 kB / 1.444 GB, free: 4.566 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/1.09, allocations: 67.94 kB / 1.444 GB, free: 4.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.091, allocations: 435.7 kB / 1.445 GB, free: 4.047 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.092, allocations: 0.7401 MB / 1.445 GB, free: 3.281 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001556/1.092, allocations: 33.94 kB / 1.445 GB, free: 3.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/1.092, allocations: 19.42 kB / 1.445 GB, free: 3.23 MB / 1.139 GB Notification: Performance of SimCode: time 3.31e-07/1.092, allocations: 0 / 1.445 GB, free: 3.23 MB / 1.139 GB Notification: Performance of Templates: time 0.01107/1.103, allocations: 5.496 MB / 1.451 GB, free: 13.8 MB / 1.154 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 gbode -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_2/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: 9.141935475170612]