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.001982/0.001982, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002548/0.002548, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.852/2.852, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.894e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003415/0.003444, allocations: 1.663 MB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2023/0.2057, allocations: 131.5 MB / 0.9409 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2059, allocations: 4 kB / 0.9409 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2061, allocations: 19.8 kB / 0.9409 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.2065, allocations: 67.44 kB / 0.941 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.207, allocations: 187.2 kB / 0.9411 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.2073, allocations: 163.4 kB / 0.9413 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2074, allocations: 33.2 kB / 0.9413 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.2091, allocations: 277.1 kB / 0.9416 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2093, allocations: 47.88 kB / 0.9416 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.2093, allocations: 12 kB / 0.9417 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.2097, allocations: 163.7 kB / 0.9418 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.2097, allocations: 27.91 kB / 0.9418 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.2098, allocations: 35.91 kB / 0.9419 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.2103, allocations: 235.2 kB / 0.9421 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2103, allocations: 0 / 0.9421 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2103, allocations: 0 / 0.9421 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2103, allocations: 0 / 0.9421 GB, free: 11.25 MB / 0.9011 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.001016/0.2113, allocations: 397.5 kB / 0.9425 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2114, allocations: 12.03 kB / 0.9425 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.2123, allocations: 92.64 kB / 0.9426 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2126, allocations: 137 kB / 0.9427 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2126, allocations: 8 kB / 0.9427 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.2126, allocations: 12 kB / 0.9427 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2131, allocations: 187.8 kB / 0.9429 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2132, allocations: 0 / 0.9429 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2132, allocations: 4 kB / 0.9429 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2132, allocations: 4 kB / 0.9429 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.2137, allocations: 139.8 kB / 0.943 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.215, allocations: 0.6997 MB / 0.9437 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.2155, allocations: 138.4 kB / 0.9439 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.2157, allocations: 76.8 kB / 0.9439 GB, free: 9.234 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2158, allocations: 3.938 kB / 0.9439 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2158, allocations: 34.72 kB / 0.944 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/0.2158, allocations: 4 kB / 0.944 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.002058/0.2179, allocations: 386.1 kB / 0.9443 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2179, allocations: 51.41 kB / 0.9444 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2181, allocations: 140.5 kB / 0.9445 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2181, allocations: 29.7 kB / 0.9445 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.2182, allocations: 108.1 kB / 0.9447 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.2183, allocations: 31.73 kB / 0.9447 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.2183, allocations: 29.7 kB / 0.9447 GB, free: 8.379 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2185, allocations: 326.8 kB / 0.945 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.2188, allocations: 71.94 kB / 0.9451 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.2191, allocations: 100.2 kB / 0.9452 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.2196, allocations: 180.1 kB / 0.9454 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2196, allocations: 0 / 0.9454 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001171/0.2208, allocations: 282.1 kB / 0.9456 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2208, allocations: 6.625 kB / 0.9456 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2208, allocations: 8 kB / 0.9456 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009947/0.2218, allocations: 132.7 kB / 0.9458 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2221, allocations: 39.95 kB / 0.9458 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.2246, allocations: 1.536 MB / 0.9473 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2248, allocations: 27.91 kB / 0.9473 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2249, allocations: 7.984 kB / 0.9473 GB, free: 5.535 MB / 0.9011 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.0001437/0.225, allocations: 125.7 kB / 0.9475 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.2251, allocations: 11.95 kB / 0.9475 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.2263, allocations: 311 kB / 0.9478 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2263, allocations: 4 kB / 0.9478 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2263, allocations: 0 / 0.9478 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2263, allocations: 3.938 kB / 0.9478 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.2265, allocations: 169 kB / 0.9479 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2265, allocations: 0 / 0.9479 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.2268, allocations: 35.95 kB / 0.948 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008311/0.2276, allocations: 124.7 kB / 0.9481 GB, free: 4.707 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2276, allocations: 4 kB / 0.9481 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.2299, allocations: 1.56 MB / 0.9496 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2299, allocations: 3.984 kB / 0.9496 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2312, allocations: 378.4 kB / 0.95 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.2313, allocations: 35.8 kB / 0.95 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.2313, allocations: 4 kB / 0.95 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2315, allocations: 19.97 kB / 0.95 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.2316, allocations: 11.98 kB / 0.95 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2316, allocations: 7.984 kB / 0.9501 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.358e-05/0.2317, allocations: 105.3 kB / 0.9502 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.2317, allocations: 4 kB / 0.9502 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000369/0.2321, allocations: 43.94 kB / 0.9502 GB, free: 2.422 MB / 0.9011 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.0002403/0.2323, allocations: 121.2 kB / 0.9503 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009696/0.2333, allocations: 306.6 kB / 0.9506 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2333, allocations: 0 / 0.9506 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.2339, allocations: 230.4 kB / 0.9508 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2342, allocations: 28.05 kB / 0.9509 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.2352, allocations: 304.9 kB / 0.9511 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2353, allocations: 97.8 kB / 0.9512 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.2355, allocations: 24.48 kB / 0.9513 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.2355, allocations: 24.48 kB / 0.9513 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of SimCode: time 7.22e-07/0.2355, allocations: 0 / 0.9513 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of Templates: time 0.008421/0.244, allocations: 3.203 MB / 0.9544 GB, free: 14.09 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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.10125834599603]