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.001372/0.001372, allocations: 77.56 kB / 19.76 MB, free: 2.031 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.001501/0.001501, allocations: 159.2 kB / 23.01 MB, free: 4.961 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.786/2.786, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] 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.002224/0.002224, allocations: 67.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8281, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002497/0.8306, allocations: 1.665 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.997, allocations: 131.5 MB / 1.284 GB, free: 7.582 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.9971, allocations: 5.5 kB / 1.284 GB, free: 7.578 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.9973, allocations: 21.53 kB / 1.284 GB, free: 7.562 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.9976, allocations: 46.5 kB / 1.284 GB, free: 7.535 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.9983, allocations: 198.2 kB / 1.284 GB, free: 7.434 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.9986, allocations: 158.3 kB / 1.284 GB, free: 7.363 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.9988, allocations: 25.58 kB / 1.284 GB, free: 7.352 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/1, allocations: 210 kB / 1.285 GB, free: 7.281 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/1.001, allocations: 58.12 kB / 1.285 GB, free: 7.258 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/1.001, allocations: 9.469 kB / 1.285 GB, free: 7.258 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/1.001, allocations: 164.6 kB / 1.285 GB, free: 7.219 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/1.001, allocations: 26.38 kB / 1.285 GB, free: 7.203 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/1.001, allocations: 45.28 kB / 1.285 GB, free: 7.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/1.002, allocations: 217.5 kB / 1.285 GB, free: 7.102 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.002, allocations: 1.594 kB / 1.285 GB, free: 7.102 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.356e-06/1.002, allocations: 0 / 1.285 GB, free: 7.102 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.002, allocations: 0 / 1.285 GB, free: 7.102 MB / 1.139 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.001195/1.003, allocations: 394.9 kB / 1.285 GB, free: 6.777 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/1.003, allocations: 9.781 kB / 1.285 GB, free: 6.777 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.004, allocations: 82.62 kB / 1.286 GB, free: 6.762 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/1.005, allocations: 138.6 kB / 1.286 GB, free: 6.621 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/1.005, allocations: 8.125 kB / 1.286 GB, free: 6.617 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/1.005, allocations: 13.64 kB / 1.286 GB, free: 6.609 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/1.006, allocations: 184.7 kB / 1.286 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.006, allocations: 1.344 kB / 1.286 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/1.006, allocations: 5.562 kB / 1.286 GB, free: 6.5 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.006, allocations: 5.469 kB / 1.286 GB, free: 6.496 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/1.006, allocations: 141.8 kB / 1.286 GB, free: 6.465 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/1.008, allocations: 0.6996 MB / 1.287 GB, free: 5.848 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/1.008, allocations: 127.4 kB / 1.287 GB, free: 5.793 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/1.008, allocations: 78.75 kB / 1.287 GB, free: 5.766 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/1.008, allocations: 1.156 kB / 1.287 GB, free: 5.766 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.008, allocations: 37.27 kB / 1.287 GB, free: 5.723 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.008, allocations: 0 / 1.287 GB, free: 5.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.002087/1.011, allocations: 380.6 kB / 1.287 GB, free: 5.613 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.011, allocations: 52.47 kB / 1.287 GB, free: 5.551 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.011, allocations: 142 kB / 1.287 GB, free: 5.438 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.011, allocations: 33.7 kB / 1.288 GB, free: 5.398 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.011, allocations: 117 kB / 1.288 GB, free: 5.289 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.011, allocations: 30.59 kB / 1.288 GB, free: 5.266 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/1.011, allocations: 27.95 kB / 1.288 GB, free: 5.246 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.011, allocations: 319.8 kB / 1.288 GB, free: 4.93 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/1.012, allocations: 73.36 kB / 1.288 GB, free: 4.91 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/1.012, allocations: 103.6 kB / 1.288 GB, free: 4.852 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/1.012, allocations: 177.9 kB / 1.288 GB, free: 4.766 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.012, allocations: 1.469 kB / 1.288 GB, free: 4.766 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001122/1.014, allocations: 279.5 kB / 1.289 GB, free: 4.664 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.014, allocations: 8.125 kB / 1.289 GB, free: 4.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.014, allocations: 5.406 kB / 1.289 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/1.014, allocations: 88.91 kB / 1.289 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/1.014, allocations: 35.16 kB / 1.289 GB, free: 4.633 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/1.018, allocations: 1.536 MB / 1.29 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/1.018, allocations: 27.69 kB / 1.29 GB, free: 3.258 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/1.018, allocations: 5.656 kB / 1.29 GB, free: 3.258 MB / 1.139 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.0002346/1.018, allocations: 128.6 kB / 1.29 GB, free: 3.129 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/1.018, allocations: 9.047 kB / 1.29 GB, free: 3.125 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.02, allocations: 310.8 kB / 1.291 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.02, allocations: 5.344 kB / 1.291 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/1.02, allocations: 0 / 1.291 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.02, allocations: 2.562 kB / 1.291 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/1.02, allocations: 162.3 kB / 1.291 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.02, allocations: 0 / 1.291 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/1.02, allocations: 34.19 kB / 1.291 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.021, allocations: 73.34 kB / 1.291 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/1.021, allocations: 6.719 kB / 1.291 GB, free: 2.836 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/1.023, allocations: 1.567 MB / 1.292 GB, free: 1.453 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.023, allocations: 0 / 1.292 GB, free: 1.453 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.024, allocations: 378.6 kB / 1.293 GB, free: 1.25 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.024, allocations: 30.39 kB / 1.293 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/1.024, allocations: 9.281 kB / 1.293 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.024, allocations: 13.94 kB / 1.293 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.025, allocations: 16.62 kB / 1.293 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/1.025, allocations: 3.734 kB / 1.293 GB, free: 1.223 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001122/1.025, allocations: 111.6 kB / 1.293 GB, free: 1.137 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 5.219 kB / 1.293 GB, free: 1.133 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003978/1.025, allocations: 44.39 kB / 1.293 GB, free: 1.125 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 (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.0002205/1.025, allocations: 109.6 kB / 1.293 GB, free: 1.035 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001019/1.026, allocations: 301 kB / 1.293 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.026, allocations: 0 / 1.293 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007635/1.027, allocations: 236.1 kB / 1.294 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.027, allocations: 15.77 kB / 1.294 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/1.028, allocations: 315.6 kB / 1.294 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/1.029, allocations: 93.75 kB / 1.294 GB, free: 464 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001392/1.029, allocations: 26.33 kB / 1.294 GB, free: 452 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/1.029, allocations: 22.64 kB / 1.294 GB, free: 440 kB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/1.029, allocations: 0 / 1.294 GB, free: 440 kB / 1.139 GB Notification: Performance of Templates: time 0.008682/1.037, allocations: 3.183 MB / 1.297 GB, free: 15.58 MB / 1.154 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 -s ida -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: 8.783929122029804]