Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001671/0.001671, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001988/0.001988, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.496/1.496, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002998/0.002998, allocations: 71.98 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.337, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002883/0.3399, allocations: 1.507 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.4919, allocations: 115.8 MB / 1.442 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.492, allocations: 0 / 1.442 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.492, allocations: 7.875 kB / 1.442 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.4921, allocations: 15.88 kB / 1.442 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.4925, allocations: 59.67 kB / 1.442 GB, free: 11.17 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.4926, allocations: 63.77 kB / 1.442 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.4927, allocations: 8 kB / 1.442 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.4927, allocations: 23.92 kB / 1.442 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.4928, allocations: 23.91 kB / 1.442 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.4928, allocations: 4 kB / 1.442 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4929, allocations: 27.94 kB / 1.442 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.4929, allocations: 11.92 kB / 1.442 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.493, allocations: 19.92 kB / 1.442 GB, free: 10.99 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.4931, allocations: 59.75 kB / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4931, allocations: 0 / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4931, allocations: 0 / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4932, allocations: 0 / 1.442 GB, free: 10.93 MB / 1.139 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.0005898/0.4937, allocations: 302.1 kB / 1.442 GB, free: 10.6 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4938, allocations: 12.03 kB / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.4938, allocations: 8.891 kB / 1.442 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4939, allocations: 106.5 kB / 1.442 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4939, allocations: 8.375 kB / 1.442 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.494, allocations: 4.375 kB / 1.442 GB, free: 10.44 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.4942, allocations: 78.14 kB / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4942, allocations: 192 / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4943, allocations: 7.938 kB / 1.442 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4943, allocations: 0 / 1.442 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.4946, allocations: 67.92 kB / 1.442 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4949, allocations: 224.5 kB / 1.443 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.4952, allocations: 58.52 kB / 1.443 GB, free: 9.969 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.4953, allocations: 40.81 kB / 1.443 GB, free: 9.926 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.4955, allocations: 11.98 kB / 1.443 GB, free: 9.914 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4955, allocations: 38.56 kB / 1.443 GB, free: 9.867 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4955, allocations: 0 / 1.443 GB, free: 9.867 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005752/0.4961, allocations: 137.5 kB / 1.443 GB, free: 9.727 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4961, allocations: 51.41 kB / 1.443 GB, free: 9.664 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4962, allocations: 121.7 kB / 1.443 GB, free: 9.535 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4962, allocations: 25.7 kB / 1.443 GB, free: 9.504 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4963, allocations: 88.14 kB / 1.443 GB, free: 9.414 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.4963, allocations: 11.91 kB / 1.443 GB, free: 9.402 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.4964, allocations: 13.7 kB / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4965, allocations: 318.8 kB / 1.444 GB, free: 9.062 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4967, allocations: 27.97 kB / 1.444 GB, free: 9.035 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4968, allocations: 35.95 kB / 1.444 GB, free: 9 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.4971, allocations: 73.05 kB / 1.444 GB, free: 8.926 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4971, allocations: 7.938 kB / 1.444 GB, free: 8.918 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003397/0.4974, allocations: 97.56 kB / 1.444 GB, free: 8.816 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4974, allocations: 4 kB / 1.444 GB, free: 8.812 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4974, allocations: 0 / 1.444 GB, free: 8.812 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4975, allocations: 4 kB / 1.444 GB, free: 8.809 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4976, allocations: 15.98 kB / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4976, allocations: 0 / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.4977, allocations: 15.97 kB / 1.444 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4977, allocations: 3.984 kB / 1.444 GB, free: 8.773 MB / 1.139 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.165e-05/0.4978, allocations: 117.8 kB / 1.444 GB, free: 8.648 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.4978, allocations: 3.953 kB / 1.444 GB, free: 8.645 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.4982, allocations: 109.6 kB / 1.444 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.4982, allocations: 0 / 1.444 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4982, allocations: 0 / 1.444 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4982, allocations: 7.938 kB / 1.444 GB, free: 8.512 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.4984, allocations: 113.2 kB / 1.444 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4984, allocations: 0 / 1.444 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4985, allocations: 15.97 kB / 1.444 GB, free: 8.355 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4985, allocations: 0 / 1.444 GB, free: 8.355 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4985, allocations: 8 kB / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4985, allocations: 0 / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4985, allocations: 384 / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.4989, allocations: 199.4 kB / 1.444 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.4989, allocations: 11.92 kB / 1.444 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4989, allocations: 0 / 1.444 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.499, allocations: 19.92 kB / 1.444 GB, free: 8.105 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.499, allocations: 4 kB / 1.444 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4991, allocations: 11.92 kB / 1.444 GB, free: 8.09 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.4991, allocations: 87.22 kB / 1.445 GB, free: 8.004 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.4991, allocations: 0 / 1.445 GB, free: 8.004 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002405/0.4994, allocations: 12 kB / 1.445 GB, free: 7.992 MB / 1.139 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.0001554/0.4995, allocations: 115.2 kB / 1.445 GB, free: 7.871 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.4999, allocations: 67.92 kB / 1.445 GB, free: 7.805 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4999, allocations: 0 / 1.445 GB, free: 7.805 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.5, allocations: 35.95 kB / 1.445 GB, free: 7.77 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.5003, allocations: 19.94 kB / 1.445 GB, free: 7.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.5007, allocations: 148.2 kB / 1.445 GB, free: 7.578 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.5008, allocations: 71.34 kB / 1.445 GB, free: 7.488 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.5008, allocations: 3.984 kB / 1.445 GB, free: 7.484 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.5009, allocations: 11.44 kB / 1.445 GB, free: 7.473 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/0.5009, allocations: 0 / 1.445 GB, free: 7.473 MB / 1.139 GB Notification: Performance of Templates: time 0.003873/0.5047, allocations: 1.045 MB / 1.446 GB, free: 6.445 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.1341685840016]