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.001324/0.001324, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001456/0.001456, allocations: 214.5 kB / 22.99 MB, free: 4.945 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.758/2.758, allocations: 476 MB / 0.7707 GB, free: 4.738 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.002116/0.002116, allocations: 68.92 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003172/0.3737, allocations: 1.296 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.5278, allocations: 115.7 MB / 1.398 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.5279, allocations: 0 / 1.398 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.5279, allocations: 0 / 1.398 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.528, allocations: 11.86 kB / 1.398 GB, free: 6.449 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.5284, allocations: 55.67 kB / 1.398 GB, free: 6.395 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.5284, allocations: 23.86 kB / 1.398 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.5285, allocations: 0 / 1.398 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.5286, allocations: 19.94 kB / 1.398 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.5286, allocations: 11.97 kB / 1.398 GB, free: 6.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.5286, allocations: 0 / 1.398 GB, free: 6.34 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.5287, allocations: 15.94 kB / 1.398 GB, free: 6.324 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.5287, allocations: 3.984 kB / 1.398 GB, free: 6.32 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.5288, allocations: 11.94 kB / 1.398 GB, free: 6.309 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.5289, allocations: 19.92 kB / 1.398 GB, free: 6.289 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5289, allocations: 0 / 1.398 GB, free: 6.289 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5289, allocations: 4 kB / 1.398 GB, free: 6.285 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5289, allocations: 0 / 1.398 GB, free: 6.285 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.0004372/0.5294, allocations: 262.3 kB / 1.398 GB, free: 5.996 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5294, allocations: 8.031 kB / 1.399 GB, free: 5.988 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.5294, allocations: 4.938 kB / 1.399 GB, free: 5.984 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5295, allocations: 110.5 kB / 1.399 GB, free: 5.852 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5296, allocations: 59.95 kB / 1.399 GB, free: 5.781 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.5297, allocations: 384 / 1.399 GB, free: 5.781 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5298, allocations: 42.23 kB / 1.399 GB, free: 5.734 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5298, allocations: 3.938 kB / 1.399 GB, free: 5.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5298, allocations: 4 kB / 1.399 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5298, allocations: 0 / 1.399 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.5299, allocations: 19.92 kB / 1.399 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.5301, allocations: 105.3 kB / 1.399 GB, free: 5.574 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.5302, allocations: 30.61 kB / 1.399 GB, free: 5.535 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.5302, allocations: 8.859 kB / 1.399 GB, free: 5.523 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.5304, allocations: 16.08 kB / 1.399 GB, free: 5.508 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5304, allocations: 34.56 kB / 1.399 GB, free: 5.465 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5304, allocations: 0 / 1.399 GB, free: 5.465 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002513/0.5306, allocations: 73.5 kB / 1.399 GB, free: 5.387 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5307, allocations: 55.41 kB / 1.399 GB, free: 5.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.5308, allocations: 97.84 kB / 1.399 GB, free: 5.215 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5308, allocations: 25.7 kB / 1.399 GB, free: 5.184 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.5308, allocations: 80.14 kB / 1.399 GB, free: 5.102 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.5309, allocations: 11.94 kB / 1.399 GB, free: 5.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.5309, allocations: 13.72 kB / 1.399 GB, free: 5.07 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.531, allocations: 314.8 kB / 1.4 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.5311, allocations: 7.984 kB / 1.4 GB, free: 4.746 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.5311, allocations: 12 kB / 1.4 GB, free: 4.734 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.5312, allocations: 24.78 kB / 1.4 GB, free: 4.707 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5312, allocations: 0 / 1.4 GB, free: 4.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001319/0.5314, allocations: 53.62 kB / 1.4 GB, free: 4.648 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5314, allocations: 4 kB / 1.4 GB, free: 4.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5314, allocations: 3.938 kB / 1.4 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5314, allocations: 3.938 kB / 1.4 GB, free: 4.637 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.5315, allocations: 7.984 kB / 1.4 GB, free: 4.629 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5315, allocations: 4 kB / 1.4 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.5315, allocations: 4 kB / 1.4 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.5315, allocations: 0 / 1.4 GB, free: 4.621 MB / 1.092 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 8.698e-05/0.5316, allocations: 113.8 kB / 1.4 GB, free: 4.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.5316, allocations: 3.953 kB / 1.4 GB, free: 4.496 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.5318, allocations: 61.75 kB / 1.4 GB, free: 4.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5318, allocations: 4.047 kB / 1.4 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5318, allocations: 3.984 kB / 1.4 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5318, allocations: 0 / 1.4 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.5319, allocations: 105.3 kB / 1.4 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5319, allocations: 0 / 1.4 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.5319, allocations: 8 kB / 1.4 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5319, allocations: 0 / 1.4 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5319, allocations: 0 / 1.4 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.532, allocations: 7.938 kB / 1.4 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.532, allocations: 0 / 1.4 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.5321, allocations: 81.05 kB / 1.4 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.5321, allocations: 0 / 1.4 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.5322, allocations: 0 / 1.4 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.5322, allocations: 11.92 kB / 1.4 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.5322, allocations: 0 / 1.4 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.5322, allocations: 4 kB / 1.4 GB, free: 4.16 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.5323, allocations: 83.28 kB / 1.4 GB, free: 4.078 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.5323, allocations: 0 / 1.4 GB, free: 4.078 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001952/0.5325, allocations: 11.94 kB / 1.4 GB, free: 4.066 MB / 1.092 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.0001603/0.5326, allocations: 107.2 kB / 1.4 GB, free: 3.949 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.5328, allocations: 19.98 kB / 1.4 GB, free: 3.93 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5328, allocations: 0 / 1.4 GB, free: 3.93 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.5328, allocations: 15.92 kB / 1.4 GB, free: 3.914 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5331, allocations: 17.88 kB / 1.4 GB, free: 3.898 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.5334, allocations: 153.9 kB / 1.4 GB, free: 3.715 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.5335, allocations: 59.3 kB / 1.401 GB, free: 3.637 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.5335, allocations: 15.38 kB / 1.401 GB, free: 3.621 MB / 1.092 GB Notification: Performance of SimCode: time 4.21e-07/0.5335, allocations: 0 / 1.401 GB, free: 3.621 MB / 1.092 GB Notification: Performance of Templates: time 0.00233/0.5358, allocations: 0.5848 MB / 1.401 GB, free: 3.039 MB / 1.092 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.108558658044785]