Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.002072/0.002072, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002404/0.002404, allocations: 222 kB / 23 MB, free: 4.918 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [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.002121/0.002121, allocations: 62.27 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003862/0.3969, allocations: 1.66 MB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.198/0.5949, allocations: 131.5 MB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.595, allocations: 0 / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.5952, allocations: 27.78 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.5956, allocations: 63.58 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.5962, allocations: 183.3 kB / 1.457 GB, free: 11.94 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.5966, allocations: 159.5 kB / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.5967, allocations: 21.3 kB / 1.457 GB, free: 11.76 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.5984, allocations: 223.6 kB / 1.457 GB, free: 11.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.5986, allocations: 59.75 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.5986, allocations: 8 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.599, allocations: 159.7 kB / 1.457 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.5991, allocations: 31.89 kB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.5992, allocations: 43.8 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.5997, allocations: 207.2 kB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5997, allocations: 4 kB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5997, allocations: 0 / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5997, allocations: 4 kB / 1.457 GB, free: 11.06 MB / 1.154 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.001042/0.6007, allocations: 397.5 kB / 1.458 GB, free: 10.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6008, allocations: 8.031 kB / 1.458 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.6017, allocations: 76.77 kB / 1.458 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.602, allocations: 154.7 kB / 1.458 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.602, allocations: 4 kB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.6021, allocations: 16 kB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.6026, allocations: 183.6 kB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6026, allocations: 3.984 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.6026, allocations: 4 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6026, allocations: 4 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.6031, allocations: 143.8 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.6044, allocations: 0.6921 MB / 1.459 GB, free: 9.277 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.6049, allocations: 126.5 kB / 1.459 GB, free: 9.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.6051, allocations: 76.8 kB / 1.459 GB, free: 9.066 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.6052, allocations: 0 / 1.459 GB, free: 9.066 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.6052, allocations: 42.55 kB / 1.459 GB, free: 9.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6052, allocations: 0 / 1.459 GB, free: 9.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002009/0.6072, allocations: 382.2 kB / 1.46 GB, free: 8.633 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.6073, allocations: 55.41 kB / 1.46 GB, free: 8.566 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.6074, allocations: 151.9 kB / 1.46 GB, free: 8.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6074, allocations: 25.7 kB / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6076, allocations: 115.9 kB / 1.46 GB, free: 8.262 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.6076, allocations: 27.75 kB / 1.46 GB, free: 8.234 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.6077, allocations: 37.62 kB / 1.46 GB, free: 8.191 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6078, allocations: 318.8 kB / 1.46 GB, free: 7.871 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.6081, allocations: 75.86 kB / 1.46 GB, free: 7.797 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.6084, allocations: 100.2 kB / 1.461 GB, free: 7.684 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.6089, allocations: 180.1 kB / 1.461 GB, free: 7.492 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6089, allocations: 0 / 1.461 GB, free: 7.492 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001114/0.61, allocations: 282.2 kB / 1.461 GB, free: 7.207 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6101, allocations: 7.938 kB / 1.461 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6101, allocations: 4 kB / 1.461 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.6107, allocations: 84.83 kB / 1.461 GB, free: 7.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.611, allocations: 31.95 kB / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.6134, allocations: 1.535 MB / 1.463 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.6136, allocations: 16.02 kB / 1.463 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.6137, allocations: 15.98 kB / 1.463 GB, free: 5.398 MB / 1.154 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.0001492/0.6138, allocations: 130.2 kB / 1.463 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6139, allocations: 11.91 kB / 1.463 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.615, allocations: 306.9 kB / 1.463 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.615, allocations: 3.938 kB / 1.463 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.615, allocations: 4 kB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.615, allocations: 0 / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.6153, allocations: 153.3 kB / 1.463 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6153, allocations: 0 / 1.463 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6155, allocations: 39.89 kB / 1.463 GB, free: 4.719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.616, allocations: 72.78 kB / 1.463 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.616, allocations: 7.984 kB / 1.463 GB, free: 4.637 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.6184, allocations: 1.563 MB / 1.465 GB, free: 2.965 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.6184, allocations: 0 / 1.465 GB, free: 2.965 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.6195, allocations: 380 kB / 1.465 GB, free: 2.574 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6197, allocations: 27.89 kB / 1.465 GB, free: 2.547 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.6197, allocations: 4 kB / 1.465 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.6199, allocations: 19.97 kB / 1.465 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.62, allocations: 11.98 kB / 1.465 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.62, allocations: 3.984 kB / 1.465 GB, free: 2.508 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001071/0.6201, allocations: 109.1 kB / 1.465 GB, free: 2.402 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6201, allocations: 0 / 1.465 GB, free: 2.402 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000407/0.6205, allocations: 47.94 kB / 1.465 GB, free: 2.355 MB / 1.154 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.0003179/0.6208, allocations: 119.1 kB / 1.466 GB, free: 2.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.6219, allocations: 302.7 kB / 1.466 GB, free: 1.922 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6219, allocations: 4 kB / 1.466 GB, free: 1.918 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.6225, allocations: 225.3 kB / 1.466 GB, free: 1.688 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.6229, allocations: 24.53 kB / 1.466 GB, free: 1.664 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.6239, allocations: 345.2 kB / 1.466 GB, free: 1.293 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6241, allocations: 93.61 kB / 1.467 GB, free: 1.176 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.6241, allocations: 19.42 kB / 1.467 GB, free: 1.16 MB / 1.154 GB Notification: Performance of SimCode: time 1.353e-06/0.6241, allocations: 0 / 1.467 GB, free: 1.16 MB / 1.154 GB Notification: Performance of Templates: time 0.006168/0.6303, allocations: 2.721 MB / 1.469 GB, free: 14.44 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.927191220223904]