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.00132/0.00132, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001502/0.001502, allocations: 159.7 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.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.658/2.658, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 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.002043/0.002043, allocations: 63.91 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002279/0.2961, allocations: 1.288 MB / 1.119 GB, free: 1.293 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.666/0.9621, allocations: 115.7 MB / 1.232 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.9621, allocations: 1.062 kB / 1.232 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.9621, allocations: 0.7969 kB / 1.232 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.9622, allocations: 9.812 kB / 1.232 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.9626, allocations: 49.33 kB / 1.232 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.9627, allocations: 25.98 kB / 1.232 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.9627, allocations: 5.828 kB / 1.232 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.9628, allocations: 11.22 kB / 1.232 GB, free: 0.625 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.9628, allocations: 6.156 kB / 1.232 GB, free: 0.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.9628, allocations: 1.062 kB / 1.232 GB, free: 0.625 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.9629, allocations: 23.16 kB / 1.232 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.963, allocations: 1.266 kB / 1.232 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.963, allocations: 12.7 kB / 1.232 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.9631, allocations: 27.58 kB / 1.232 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9631, allocations: 0.5156 kB / 1.232 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9631, allocations: 1.344 kB / 1.232 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.9631, allocations: 3.938 kB / 1.232 GB, free: 0.5977 MB / 1.092 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.0004613/0.9636, allocations: 258.9 kB / 1.232 GB, free: 344 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9636, allocations: 9.594 kB / 1.232 GB, free: 344 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.9637, allocations: 3.891 kB / 1.232 GB, free: 344 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.9638, allocations: 109.5 kB / 1.232 GB, free: 212 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.9639, allocations: 56.2 kB / 1.232 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.9639, allocations: 9.562 kB / 1.232 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.964, allocations: 36.05 kB / 1.232 GB, free: 108 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.964, allocations: 3.938 kB / 1.232 GB, free: 104 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.964, allocations: 0.5156 kB / 1.232 GB, free: 104 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9641, allocations: 5.266 kB / 1.232 GB, free: 100 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.9641, allocations: 18.69 kB / 1.232 GB, free: 92 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.9643, allocations: 99.22 kB / 1.232 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.9644, allocations: 29.77 kB / 1.233 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.9645, allocations: 15.67 kB / 1.233 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.9646, allocations: 16.27 kB / 1.233 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.9646, allocations: 32.52 kB / 1.233 GB, free: 15.89 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9646, allocations: 0 / 1.233 GB, free: 15.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002487/0.9649, allocations: 66.08 kB / 1.233 GB, free: 15.84 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.9649, allocations: 52.91 kB / 1.233 GB, free: 15.78 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.965, allocations: 99.86 kB / 1.233 GB, free: 15.68 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.965, allocations: 25.7 kB / 1.233 GB, free: 15.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.9651, allocations: 81.27 kB / 1.233 GB, free: 15.56 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.9651, allocations: 9.781 kB / 1.233 GB, free: 15.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.9651, allocations: 17.86 kB / 1.233 GB, free: 15.54 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9653, allocations: 314.8 kB / 1.233 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.9653, allocations: 6.828 kB / 1.233 GB, free: 15.22 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.9654, allocations: 9.781 kB / 1.233 GB, free: 15.22 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.9655, allocations: 22.44 kB / 1.233 GB, free: 15.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9655, allocations: 4.938 kB / 1.233 GB, free: 15.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/0.9656, allocations: 48.83 kB / 1.233 GB, free: 15.17 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9656, allocations: 8.969 kB / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9656, allocations: 0 / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9656, allocations: 5.906 kB / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.9657, allocations: 6.547 kB / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.9657, allocations: 3.938 kB / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.9657, allocations: 2.016 kB / 1.233 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.9657, allocations: 1.375 kB / 1.233 GB, free: 15.16 MB / 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 7.625e-05/0.9658, allocations: 107.9 kB / 1.233 GB, free: 15.04 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.9658, allocations: 7.062 kB / 1.233 GB, free: 15.04 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.966, allocations: 69.94 kB / 1.234 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.966, allocations: 1.125 kB / 1.234 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.966, allocations: 3.062 kB / 1.234 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.966, allocations: 2.203 kB / 1.234 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.9661, allocations: 105.1 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9661, allocations: 2.109 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.9661, allocations: 4.797 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.9661, allocations: 2.438 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.9662, allocations: 0.5625 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9662, allocations: 5.344 kB / 1.234 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9662, allocations: 0.5625 kB / 1.234 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.9663, allocations: 82.7 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.9663, allocations: 3.875 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.9664, allocations: 4.609 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.9664, allocations: 6.203 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.9664, allocations: 3.516 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.9664, allocations: 1.438 kB / 1.234 GB, free: 14.77 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.9665, allocations: 78.38 kB / 1.234 GB, free: 14.69 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9665, allocations: 0 / 1.234 GB, free: 14.69 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001895/0.9667, allocations: 9.391 kB / 1.234 GB, free: 14.69 MB / 1.107 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.000141/0.9668, allocations: 113 kB / 1.234 GB, free: 14.6 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.9669, allocations: 22.19 kB / 1.234 GB, free: 14.59 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9669, allocations: 1 kB / 1.234 GB, free: 14.59 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.967, allocations: 12.16 kB / 1.234 GB, free: 14.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.9672, allocations: 12.97 kB / 1.234 GB, free: 14.59 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.9675, allocations: 125.5 kB / 1.234 GB, free: 14.47 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.9675, allocations: 64 kB / 1.234 GB, free: 14.4 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.9676, allocations: 5.734 kB / 1.234 GB, free: 14.39 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.9676, allocations: 10.59 kB / 1.234 GB, free: 14.39 MB / 1.107 GB Notification: Performance of SimCode: time 4.91e-07/0.9676, allocations: 1.219 kB / 1.234 GB, free: 14.39 MB / 1.107 GB Notification: Performance of Templates: time 0.00305/0.9707, allocations: 0.5365 MB / 1.235 GB, free: 14.3 MB / 1.107 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 -s ida -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: 8.523584128008224]