Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001853/0.001853, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00168/0.00168, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [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.001958/0.001958, allocations: 73.66 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3841, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002566/0.3867, allocations: 1.306 MB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.5617, allocations: 135.2 MB / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.5618, allocations: 0 / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.5618, allocations: 0 / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.5619, allocations: 3.938 kB / 1.418 GB, free: 2.168 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.5623, allocations: 63.66 kB / 1.418 GB, free: 2.105 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.5623, allocations: 23.88 kB / 1.418 GB, free: 2.082 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.5624, allocations: 3.984 kB / 1.418 GB, free: 2.078 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.5624, allocations: 15.92 kB / 1.418 GB, free: 2.062 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.5625, allocations: 4 kB / 1.418 GB, free: 2.059 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.5625, allocations: 0 / 1.418 GB, free: 2.059 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.5626, allocations: 23.92 kB / 1.418 GB, free: 2.035 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.5626, allocations: 3.984 kB / 1.418 GB, free: 2.031 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.5627, allocations: 7.938 kB / 1.418 GB, free: 2.023 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.5628, allocations: 27.92 kB / 1.418 GB, free: 1.996 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5628, allocations: 0 / 1.418 GB, free: 1.996 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5628, allocations: 0 / 1.418 GB, free: 1.996 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5628, allocations: 4 kB / 1.418 GB, free: 1.992 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004469/0.5632, allocations: 258.3 kB / 1.418 GB, free: 1.707 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5633, allocations: 8.031 kB / 1.418 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.5633, allocations: 0.9375 kB / 1.418 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.5634, allocations: 118.5 kB / 1.418 GB, free: 1.559 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5635, allocations: 63.95 kB / 1.419 GB, free: 1.484 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.5635, allocations: 4.375 kB / 1.419 GB, free: 1.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5637, allocations: 38.19 kB / 1.419 GB, free: 1.438 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5637, allocations: 3.938 kB / 1.419 GB, free: 1.434 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5637, allocations: 4 kB / 1.419 GB, free: 1.43 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5637, allocations: 0 / 1.419 GB, free: 1.43 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.5638, allocations: 15.98 kB / 1.419 GB, free: 1.414 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.564, allocations: 128.7 kB / 1.419 GB, free: 1.246 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5641, allocations: 34.61 kB / 1.419 GB, free: 1.203 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.5641, allocations: 12.94 kB / 1.419 GB, free: 1.188 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.5642, allocations: 8 kB / 1.419 GB, free: 1.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.5643, allocations: 38.48 kB / 1.419 GB, free: 1.133 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5643, allocations: 0 / 1.419 GB, free: 1.133 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002442/0.5645, allocations: 69.58 kB / 1.419 GB, free: 1.059 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.5646, allocations: 51.41 kB / 1.419 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.5647, allocations: 97.84 kB / 1.419 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5647, allocations: 25.7 kB / 1.419 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.5647, allocations: 80.14 kB / 1.419 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.5647, allocations: 11.95 kB / 1.419 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.5648, allocations: 9.719 kB / 1.419 GB, free: 0.75 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5649, allocations: 322.8 kB / 1.419 GB, free: 436 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.565, allocations: 8 kB / 1.419 GB, free: 428 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.565, allocations: 7.984 kB / 1.419 GB, free: 420 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/0.5651, allocations: 20.8 kB / 1.419 GB, free: 396 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5651, allocations: 0 / 1.419 GB, free: 396 kB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.5652, allocations: 58.08 kB / 1.42 GB, free: 332 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5652, allocations: 7.938 kB / 1.42 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5652, allocations: 0 / 1.42 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5652, allocations: 0 / 1.42 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.5653, allocations: 12 kB / 1.42 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5653, allocations: 0 / 1.42 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.5653, allocations: 7.953 kB / 1.42 GB, free: 304 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5653, allocations: 0 / 1.42 GB, free: 304 kB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.5654, allocations: 117.8 kB / 1.42 GB, free: 176 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.5654, allocations: 11.91 kB / 1.42 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.5656, allocations: 53.38 kB / 1.42 GB, free: 104 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5656, allocations: 3.984 kB / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5656, allocations: 4 kB / 1.42 GB, free: 96 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5656, allocations: 0 / 1.42 GB, free: 96 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5658, allocations: 120.8 kB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5658, allocations: 3.938 kB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.5658, allocations: 7.938 kB / 1.42 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5658, allocations: 3.938 kB / 1.42 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5658, allocations: 4 kB / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5658, allocations: 0 / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5658, allocations: 0 / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.566, allocations: 85.05 kB / 1.42 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.566, allocations: 3.953 kB / 1.42 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.566, allocations: 3.938 kB / 1.42 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.566, allocations: 4 kB / 1.42 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5661, allocations: 3.984 kB / 1.42 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.5661, allocations: 0 / 1.42 GB, free: 15.8 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.5661, allocations: 83.28 kB / 1.42 GB, free: 15.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5661, allocations: 0 / 1.42 GB, free: 15.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001855/0.5663, allocations: 15.94 kB / 1.42 GB, free: 15.7 MB / 1.123 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.5665, allocations: 107.2 kB / 1.42 GB, free: 15.58 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.5666, allocations: 23.92 kB / 1.42 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5666, allocations: 0 / 1.42 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.5667, allocations: 7.984 kB / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5669, allocations: 7.891 kB / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.5672, allocations: 157.7 kB / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.5676, allocations: 0.6768 MB / 1.421 GB, free: 14.66 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.5676, allocations: 15.44 kB / 1.421 GB, free: 14.64 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/0.5676, allocations: 0 / 1.421 GB, free: 14.64 MB / 1.123 GB Notification: Performance of Templates: time 0.002172/0.5698, allocations: 0.5829 MB / 1.422 GB, free: 14.06 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.314299149002181]