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.001799/0.001799, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002241/0.002241, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.229/3.229, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.27e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003506/0.003539, allocations: 1.67 MB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.1933, allocations: 131.6 MB / 1.008 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1935, allocations: 0 / 1.008 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1937, allocations: 23.8 kB / 1.008 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.1941, allocations: 55.45 kB / 1.008 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.1947, allocations: 195.2 kB / 1.008 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.195, allocations: 167.4 kB / 1.008 GB, free: 416 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1952, allocations: 25.28 kB / 1.008 GB, free: 392 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.1969, allocations: 289.6 kB / 1.008 GB, free: 168 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.197, allocations: 47.83 kB / 1.008 GB, free: 120 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.1971, allocations: 19.94 kB / 1.008 GB, free: 100 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.1974, allocations: 163.7 kB / 1.009 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1975, allocations: 23.91 kB / 1.009 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1976, allocations: 39.84 kB / 1.009 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.1981, allocations: 227.3 kB / 1.009 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1981, allocations: 0 / 1.009 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1981, allocations: 0 / 1.009 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1981, allocations: 0 / 1.009 GB, free: 15.65 MB / 0.9792 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.001026/0.1991, allocations: 409.4 kB / 1.009 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1992, allocations: 12.03 kB / 1.009 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2002, allocations: 88.7 kB / 1.009 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2005, allocations: 145 kB / 1.01 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2005, allocations: 4 kB / 1.01 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.2005, allocations: 12 kB / 1.01 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.201, allocations: 181.8 kB / 1.01 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.201, allocations: 4 kB / 1.01 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2011, allocations: 4 kB / 1.01 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2011, allocations: 7.984 kB / 1.01 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.2016, allocations: 139.8 kB / 1.01 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2029, allocations: 0.6922 MB / 1.011 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.2034, allocations: 130.4 kB / 1.011 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.2037, allocations: 76.78 kB / 1.011 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2038, allocations: 3.938 kB / 1.011 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2038, allocations: 34.56 kB / 1.011 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.2038, allocations: 0 / 1.011 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.002155/0.2059, allocations: 386.2 kB / 1.011 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.206, allocations: 55.41 kB / 1.011 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2062, allocations: 143.5 kB / 1.011 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2062, allocations: 29.7 kB / 1.011 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.2063, allocations: 108.1 kB / 1.011 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.2063, allocations: 27.78 kB / 1.011 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.2064, allocations: 33.66 kB / 1.012 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2066, allocations: 326.8 kB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.2069, allocations: 71.88 kB / 1.012 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.2072, allocations: 104.2 kB / 1.012 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.2078, allocations: 180.1 kB / 1.012 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2078, allocations: 0 / 1.012 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001213/0.209, allocations: 286.1 kB / 1.012 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.209, allocations: 8 kB / 1.012 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.209, allocations: 0 / 1.012 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.21, allocations: 140.8 kB / 1.013 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.2103, allocations: 35.95 kB / 1.013 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.2129, allocations: 1.536 MB / 1.014 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.2131, allocations: 23.88 kB / 1.014 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2132, allocations: 7.984 kB / 1.014 GB, free: 9.926 MB / 0.9792 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.0001495/0.2133, allocations: 121.8 kB / 1.014 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.2134, allocations: 11.95 kB / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2146, allocations: 309.7 kB / 1.015 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2146, allocations: 4 kB / 1.015 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2146, allocations: 0 / 1.015 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2146, allocations: 3.938 kB / 1.015 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.2149, allocations: 169.2 kB / 1.015 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2149, allocations: 4 kB / 1.015 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.2151, allocations: 35.95 kB / 1.015 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007801/0.2159, allocations: 120.7 kB / 1.015 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2159, allocations: 0 / 1.015 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.2182, allocations: 1.56 MB / 1.016 GB, free: 7.441 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.2182, allocations: 0 / 1.016 GB, free: 7.441 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2194, allocations: 380.1 kB / 1.017 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.2195, allocations: 31.86 kB / 1.017 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2195, allocations: 8 kB / 1.017 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2197, allocations: 15.92 kB / 1.017 GB, free: 6.996 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2198, allocations: 15.97 kB / 1.017 GB, free: 6.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2198, allocations: 7.984 kB / 1.017 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.2199, allocations: 104.6 kB / 1.017 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2199, allocations: 0 / 1.017 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003745/0.2203, allocations: 43.94 kB / 1.017 GB, free: 6.828 MB / 0.9792 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.0002353/0.2205, allocations: 119.2 kB / 1.017 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000993/0.2215, allocations: 310.5 kB / 1.017 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2215, allocations: 0 / 1.017 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.2221, allocations: 222.4 kB / 1.018 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.2225, allocations: 28.53 kB / 1.018 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.2235, allocations: 308.8 kB / 1.018 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2236, allocations: 97.8 kB / 1.018 GB, free: 5.688 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.2237, allocations: 24.42 kB / 1.018 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.2238, allocations: 20.5 kB / 1.018 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.2238, allocations: 0 / 1.018 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of Templates: time 0.008248/0.232, allocations: 3.2 MB / 1.021 GB, free: 2.492 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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.487917792983353]