Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.001418/0.001418, 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.001557/0.001557, allocations: 215.9 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.841/2.841, allocations: 476 MB / 0.7707 GB, free: 4.723 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.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.002154/0.002154, allocations: 68.23 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003833/0.3543, allocations: 1.511 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1496/0.5038, allocations: 115.8 MB / 1.398 GB, free: 6.191 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.5039, allocations: 0 / 1.398 GB, free: 6.191 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.504, allocations: 7.922 kB / 1.398 GB, free: 6.184 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.504, allocations: 7.875 kB / 1.398 GB, free: 6.176 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.5045, allocations: 67.66 kB / 1.398 GB, free: 6.109 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.5046, allocations: 55.84 kB / 1.398 GB, free: 6.055 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5047, allocations: 8 kB / 1.398 GB, free: 6.047 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.5048, allocations: 19.81 kB / 1.398 GB, free: 6.031 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.5049, allocations: 23.86 kB / 1.398 GB, free: 6.008 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.5049, allocations: 4 kB / 1.398 GB, free: 6.004 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.505, allocations: 27.92 kB / 1.399 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.505, allocations: 11.97 kB / 1.399 GB, free: 5.965 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.5051, allocations: 19.88 kB / 1.399 GB, free: 5.945 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.5052, allocations: 55.81 kB / 1.399 GB, free: 5.891 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5052, allocations: 0 / 1.399 GB, free: 5.891 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5053, allocations: 0 / 1.399 GB, free: 5.891 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5053, allocations: 4 kB / 1.399 GB, free: 5.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005886/0.5058, allocations: 302.1 kB / 1.399 GB, free: 5.559 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.5059, allocations: 8.031 kB / 1.399 GB, free: 5.551 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.5059, allocations: 8.891 kB / 1.399 GB, free: 5.543 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.5061, allocations: 114.5 kB / 1.399 GB, free: 5.406 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5061, allocations: 4.375 kB / 1.399 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5061, allocations: 8.375 kB / 1.399 GB, free: 5.395 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5064, allocations: 86.12 kB / 1.399 GB, free: 5.305 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5064, allocations: 192 / 1.399 GB, free: 5.305 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5064, allocations: 7.875 kB / 1.399 GB, free: 5.297 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5064, allocations: 0 / 1.399 GB, free: 5.297 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.5067, allocations: 67.92 kB / 1.399 GB, free: 5.23 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.5071, allocations: 224.4 kB / 1.399 GB, free: 4.98 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.5073, allocations: 54.48 kB / 1.399 GB, free: 4.918 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.5075, allocations: 44.91 kB / 1.4 GB, free: 4.871 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.5076, allocations: 11.98 kB / 1.4 GB, free: 4.859 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5076, allocations: 34.56 kB / 1.4 GB, free: 4.816 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5076, allocations: 0 / 1.4 GB, free: 4.816 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0005468/0.5082, allocations: 133.5 kB / 1.4 GB, free: 4.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.5082, allocations: 51.41 kB / 1.4 GB, free: 4.617 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5083, allocations: 109.8 kB / 1.4 GB, free: 4.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.5083, allocations: 25.7 kB / 1.4 GB, free: 4.469 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.5084, allocations: 92.12 kB / 1.4 GB, free: 4.375 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.5084, allocations: 11.91 kB / 1.4 GB, free: 4.363 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5085, allocations: 13.72 kB / 1.4 GB, free: 4.344 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5086, allocations: 322.8 kB / 1.4 GB, free: 4.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5088, allocations: 31.97 kB / 1.4 GB, free: 3.988 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.5089, allocations: 31.95 kB / 1.4 GB, free: 3.957 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.5092, allocations: 68.73 kB / 1.4 GB, free: 3.887 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5092, allocations: 7.938 kB / 1.4 GB, free: 3.879 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003852/0.5096, allocations: 97.61 kB / 1.4 GB, free: 3.777 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5096, allocations: 4 kB / 1.401 GB, free: 3.773 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5096, allocations: 4 kB / 1.401 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5096, allocations: 0 / 1.401 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5097, allocations: 11.98 kB / 1.401 GB, free: 3.758 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5097, allocations: 4 kB / 1.401 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.5098, allocations: 11.98 kB / 1.401 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5098, allocations: 0 / 1.401 GB, free: 3.742 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 0.0001104/0.5099, allocations: 121.8 kB / 1.401 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.5099, allocations: 12.27 kB / 1.401 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.5103, allocations: 105.6 kB / 1.401 GB, free: 3.488 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5103, allocations: 4 kB / 1.401 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5103, allocations: 384 / 1.401 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5103, allocations: 3.938 kB / 1.401 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.5105, allocations: 117.2 kB / 1.401 GB, free: 3.336 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5105, allocations: 0 / 1.401 GB, free: 3.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.5106, allocations: 15.98 kB / 1.401 GB, free: 3.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5106, allocations: 7.969 kB / 1.401 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5106, allocations: 0 / 1.401 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5106, allocations: 0 / 1.401 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5106, allocations: 0 / 1.401 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.511, allocations: 207.3 kB / 1.401 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.5111, allocations: 3.938 kB / 1.401 GB, free: 3.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.5111, allocations: 8 kB / 1.401 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.5112, allocations: 11.97 kB / 1.401 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.5112, allocations: 8 kB / 1.401 GB, free: 3.062 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5112, allocations: 0 / 1.401 GB, free: 3.062 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.5113, allocations: 91.27 kB / 1.401 GB, free: 2.973 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.5113, allocations: 4 kB / 1.401 GB, free: 2.969 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002359/0.5115, allocations: 12 kB / 1.401 GB, free: 2.957 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.0001664/0.5117, allocations: 111.2 kB / 1.401 GB, free: 2.84 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.512, allocations: 71.86 kB / 1.401 GB, free: 2.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5121, allocations: 0 / 1.401 GB, free: 2.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.5122, allocations: 39.95 kB / 1.401 GB, free: 2.73 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5125, allocations: 15.92 kB / 1.401 GB, free: 2.715 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.513, allocations: 172.8 kB / 1.402 GB, free: 2.516 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.5131, allocations: 63.34 kB / 1.402 GB, free: 2.434 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.5132, allocations: 15.44 kB / 1.402 GB, free: 2.418 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/0.5132, allocations: 4 kB / 1.402 GB, free: 2.414 MB / 1.092 GB Notification: Performance of Templates: time 0.002771/0.5159, allocations: 0.9231 MB / 1.403 GB, free: 1.496 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.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.381912264041603]