Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00131/0.00131, 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.001409/0.001409, allocations: 160.4 kB / 23.01 MB, free: 4.598 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.901/2.901, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002139/0.002139, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.86, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002559/0.8625, allocations: 1.667 MB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1825/1.045, allocations: 131.5 MB / 1.317 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/1.045, allocations: 7.938 kB / 1.317 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/1.045, allocations: 23.8 kB / 1.317 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/1.046, allocations: 55.62 kB / 1.317 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/1.046, allocations: 191.3 kB / 1.317 GB, free: 464 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/1.046, allocations: 159.5 kB / 1.317 GB, free: 304 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/1.046, allocations: 17.3 kB / 1.317 GB, free: 288 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/1.048, allocations: 218.9 kB / 1.317 GB, free: 96 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/1.048, allocations: 55.75 kB / 1.317 GB, free: 40 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/1.048, allocations: 8 kB / 1.317 GB, free: 32 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/1.048, allocations: 163.9 kB / 1.318 GB, free: 15.87 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/1.048, allocations: 31.89 kB / 1.318 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/1.048, allocations: 39.8 kB / 1.318 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/1.049, allocations: 210.8 kB / 1.318 GB, free: 15.6 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.049, allocations: 0 / 1.318 GB, free: 15.6 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/1.049, allocations: 0 / 1.318 GB, free: 15.6 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.67e-06/1.049, allocations: 0 / 1.318 GB, free: 15.6 MB / 1.17 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.0008781/1.05, allocations: 405.4 kB / 1.318 GB, free: 15.17 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/1.05, allocations: 12.03 kB / 1.318 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/1.051, allocations: 72.81 kB / 1.318 GB, free: 15.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/1.051, allocations: 145 kB / 1.318 GB, free: 14.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.051, allocations: 4 kB / 1.318 GB, free: 14.92 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.051, allocations: 11.94 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/1.051, allocations: 185.8 kB / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.051, allocations: 4 kB / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/1.051, allocations: 4 kB / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.051, allocations: 3.984 kB / 1.319 GB, free: 14.69 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/1.052, allocations: 143.8 kB / 1.319 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.053, allocations: 0.7038 MB / 1.319 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/1.053, allocations: 126.4 kB / 1.32 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.054, allocations: 76.8 kB / 1.32 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.054, allocations: 3.938 kB / 1.32 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.054, allocations: 34.56 kB / 1.32 GB, free: 13.54 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/1.054, allocations: 0 / 1.32 GB, free: 13.54 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.001994/1.056, allocations: 390.2 kB / 1.32 GB, free: 13.15 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.056, allocations: 55.41 kB / 1.32 GB, free: 13.09 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.056, allocations: 144.4 kB / 1.32 GB, free: 12.94 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/1.056, allocations: 29.64 kB / 1.32 GB, free: 12.9 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/1.056, allocations: 120 kB / 1.32 GB, free: 12.78 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/1.056, allocations: 27.75 kB / 1.32 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/1.056, allocations: 29.7 kB / 1.32 GB, free: 12.72 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.056, allocations: 322.8 kB / 1.321 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/1.057, allocations: 67.92 kB / 1.321 GB, free: 12.33 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/1.057, allocations: 104.2 kB / 1.321 GB, free: 12.21 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/1.057, allocations: 180.1 kB / 1.321 GB, free: 12.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.057, allocations: 0 / 1.321 GB, free: 12.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001101/1.059, allocations: 270.2 kB / 1.321 GB, free: 11.75 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.059, allocations: 11.94 kB / 1.321 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.059, allocations: 3.938 kB / 1.321 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.059, allocations: 84.89 kB / 1.321 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.059, allocations: 31.95 kB / 1.321 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.062, allocations: 1.534 MB / 1.323 GB, free: 9.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/1.062, allocations: 23.88 kB / 1.323 GB, free: 9.945 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/1.062, allocations: 7.984 kB / 1.323 GB, free: 9.938 MB / 1.17 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.0001132/1.062, allocations: 125.7 kB / 1.323 GB, free: 9.805 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/1.062, allocations: 7.953 kB / 1.323 GB, free: 9.797 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.063, allocations: 307 kB / 1.323 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.063, allocations: 7.938 kB / 1.323 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/1.063, allocations: 0 / 1.323 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.063, allocations: 0 / 1.323 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/1.063, allocations: 169.1 kB / 1.324 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.063, allocations: 4 kB / 1.324 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/1.064, allocations: 31.97 kB / 1.324 GB, free: 9.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/1.064, allocations: 76.77 kB / 1.324 GB, free: 9.176 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.064, allocations: 7.938 kB / 1.324 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.066, allocations: 1.552 MB / 1.325 GB, free: 7.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.066, allocations: 144 / 1.325 GB, free: 7.508 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.067, allocations: 391.5 kB / 1.326 GB, free: 7.109 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/1.067, allocations: 27.86 kB / 1.326 GB, free: 7.082 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.067, allocations: 0 / 1.326 GB, free: 7.082 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.068, allocations: 19.98 kB / 1.326 GB, free: 7.062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/1.068, allocations: 11.97 kB / 1.326 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.068, allocations: 11.98 kB / 1.326 GB, free: 7.039 MB / 1.17 GB Notification: Performance of sorting global known variables: time 8.646e-05/1.068, allocations: 113.1 kB / 1.326 GB, free: 6.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.068, allocations: 0 / 1.326 GB, free: 6.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003725/1.068, allocations: 47.89 kB / 1.326 GB, free: 6.883 MB / 1.17 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.0001823/1.068, allocations: 103.2 kB / 1.326 GB, free: 6.773 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009462/1.069, allocations: 306.6 kB / 1.326 GB, free: 6.461 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.069, allocations: 0 / 1.326 GB, free: 6.461 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/1.07, allocations: 230.6 kB / 1.326 GB, free: 6.223 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.07, allocations: 22.89 kB / 1.326 GB, free: 6.203 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/1.071, allocations: 315.4 kB / 1.327 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/1.071, allocations: 101.8 kB / 1.327 GB, free: 5.746 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001312/1.071, allocations: 24.42 kB / 1.327 GB, free: 5.723 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/1.071, allocations: 20.48 kB / 1.327 GB, free: 5.703 MB / 1.17 GB Notification: Performance of SimCode: time 3.21e-07/1.071, allocations: 0 / 1.327 GB, free: 5.703 MB / 1.17 GB Notification: Performance of Templates: time 0.007302/1.079, allocations: 3.168 MB / 1.33 GB, free: 2.586 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.920732010039501]