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.001468/0.001468, allocations: 110.2 kB / 19.69 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.002105/0.002105, allocations: 219.1 kB / 23.01 MB, free: 4.566 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: 230.6 MB / 256.8 MB, free: 8.031 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.8/2.8, allocations: 476.7 MB / 0.7714 GB, free: 4.32 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.002111/0.002111, allocations: 64.66 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4125, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003201/0.4157, allocations: 1.523 MB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.5866, allocations: 135.3 MB / 1.418 GB, free: 1.988 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5867, allocations: 0 / 1.418 GB, free: 1.988 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 5.967e-05/0.5868, allocations: 3.938 kB / 1.418 GB, free: 1.984 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.5869, allocations: 15.86 kB / 1.418 GB, free: 1.969 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.5874, allocations: 59.72 kB / 1.418 GB, free: 1.91 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.5876, allocations: 63.72 kB / 1.418 GB, free: 1.848 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.5877, allocations: 19.97 kB / 1.418 GB, free: 1.828 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.5878, allocations: 15.94 kB / 1.418 GB, free: 1.812 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.5879, allocations: 23.91 kB / 1.418 GB, free: 1.789 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.5879, allocations: 8 kB / 1.418 GB, free: 1.781 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.588, allocations: 23.92 kB / 1.418 GB, free: 1.758 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.588, allocations: 11.94 kB / 1.418 GB, free: 1.746 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.5881, allocations: 27.8 kB / 1.418 GB, free: 1.719 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.5883, allocations: 55.81 kB / 1.418 GB, free: 1.664 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5883, allocations: 0 / 1.418 GB, free: 1.664 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5883, allocations: 0 / 1.418 GB, free: 1.664 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5883, allocations: 4 kB / 1.418 GB, free: 1.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000642/0.5889, allocations: 298.1 kB / 1.419 GB, free: 1.336 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.589, allocations: 8.031 kB / 1.419 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.589, allocations: 8.891 kB / 1.419 GB, free: 1.32 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.5892, allocations: 114.5 kB / 1.419 GB, free: 1.184 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5892, allocations: 4.359 kB / 1.419 GB, free: 1.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.5892, allocations: 4.375 kB / 1.419 GB, free: 1.176 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.5895, allocations: 78.16 kB / 1.419 GB, free: 1.094 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5895, allocations: 192 / 1.419 GB, free: 1.094 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.5895, allocations: 3.938 kB / 1.419 GB, free: 1.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5896, allocations: 0 / 1.419 GB, free: 1.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.5899, allocations: 79.84 kB / 1.419 GB, free: 1.012 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5903, allocations: 255.8 kB / 1.419 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.5906, allocations: 58.48 kB / 1.419 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.5907, allocations: 36.91 kB / 1.419 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.5909, allocations: 23.97 kB / 1.419 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.5909, allocations: 34.56 kB / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5909, allocations: 0 / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005607/0.5915, allocations: 125.5 kB / 1.42 GB, free: 428 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.5916, allocations: 63.33 kB / 1.42 GB, free: 352 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5917, allocations: 117.8 kB / 1.42 GB, free: 224 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5917, allocations: 25.7 kB / 1.42 GB, free: 192 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.5918, allocations: 88.14 kB / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.5918, allocations: 11.91 kB / 1.42 GB, free: 88 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.5918, allocations: 17.7 kB / 1.42 GB, free: 64 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.592, allocations: 318.8 kB / 1.42 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5921, allocations: 39.95 kB / 1.42 GB, free: 15.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5923, allocations: 27.97 kB / 1.42 GB, free: 15.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.5925, allocations: 68.78 kB / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5925, allocations: 0 / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002987/0.5928, allocations: 101.6 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5928, allocations: 4 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5928, allocations: 0 / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5929, allocations: 0 / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.593, allocations: 23.91 kB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.593, allocations: 0 / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.5931, allocations: 19.94 kB / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.5931, allocations: 0 / 1.42 GB, free: 15.45 MB / 1.123 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.0001026/0.5932, allocations: 117.8 kB / 1.421 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.5932, allocations: 0 / 1.421 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.5935, allocations: 105.6 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5936, allocations: 8 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5936, allocations: 0 / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5936, allocations: 3.938 kB / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.5937, allocations: 152.5 kB / 1.421 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5937, allocations: 0 / 1.421 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.5938, allocations: 15.98 kB / 1.421 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5938, allocations: 0 / 1.421 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.5939, allocations: 0 / 1.421 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5939, allocations: 3.984 kB / 1.421 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5939, allocations: 0 / 1.421 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.5942, allocations: 203.4 kB / 1.421 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.5942, allocations: 4.375 kB / 1.421 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.5943, allocations: 0 / 1.421 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5944, allocations: 15.97 kB / 1.421 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.5944, allocations: 8 kB / 1.421 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5944, allocations: 0 / 1.421 GB, free: 14.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.5945, allocations: 99.64 kB / 1.421 GB, free: 14.65 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5945, allocations: 0 / 1.421 GB, free: 14.65 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002266/0.5947, allocations: 15.94 kB / 1.421 GB, free: 14.64 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.0001609/0.5949, allocations: 107.2 kB / 1.421 GB, free: 14.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.5952, allocations: 75.91 kB / 1.421 GB, free: 14.45 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5952, allocations: 0 / 1.421 GB, free: 14.45 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.5954, allocations: 35.95 kB / 1.421 GB, free: 14.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.5957, allocations: 21.66 kB / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.5961, allocations: 181.8 kB / 1.422 GB, free: 14.18 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5964, allocations: 0.6846 MB / 1.422 GB, free: 13.47 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.5965, allocations: 7.438 kB / 1.422 GB, free: 13.46 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/0.5965, allocations: 0 / 1.422 GB, free: 13.46 MB / 1.123 GB Notification: Performance of Templates: time 0.002655/0.5991, allocations: 0.9445 MB / 1.423 GB, free: 12.53 MB / 1.123 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.323112092009978]