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.001464/0.001464, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001698/0.001698, allocations: 216.8 kB / 22.25 MB, free: 5.258 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.789 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.329/3.329, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [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.00207/0.00207, allocations: 65.77 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4097, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003631/0.4133, allocations: 1.509 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.5687, allocations: 115.8 MB / 1.44 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.5687, allocations: 0 / 1.44 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.5688, allocations: 3.938 kB / 1.44 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.5688, allocations: 15.86 kB / 1.44 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.5692, allocations: 67.67 kB / 1.44 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.5693, allocations: 51.78 kB / 1.44 GB, free: 12.52 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.5694, allocations: 8 kB / 1.44 GB, free: 12.51 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.5695, allocations: 23.91 kB / 1.44 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.5695, allocations: 31.84 kB / 1.44 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.5695, allocations: 4 kB / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5696, allocations: 23.81 kB / 1.44 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.5697, allocations: 11.98 kB / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.5697, allocations: 19.88 kB / 1.44 GB, free: 12.4 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.5699, allocations: 59.8 kB / 1.44 GB, free: 12.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5699, allocations: 0 / 1.44 GB, free: 12.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5699, allocations: 0 / 1.44 GB, free: 12.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5699, allocations: 0 / 1.44 GB, free: 12.34 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.0005532/0.5704, allocations: 302.1 kB / 1.44 GB, free: 12.02 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5705, allocations: 8.031 kB / 1.44 GB, free: 12.01 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.5705, allocations: 38.75 kB / 1.44 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.5705, allocations: 4.891 kB / 1.44 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5707, allocations: 122.4 kB / 1.44 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5707, allocations: 4.375 kB / 1.44 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.5707, allocations: 384 / 1.44 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.5709, allocations: 74.2 kB / 1.44 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.571, allocations: 3.938 kB / 1.44 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.571, allocations: 7.938 kB / 1.44 GB, free: 11.72 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.571, allocations: 4 kB / 1.44 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.5713, allocations: 71.86 kB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.5717, allocations: 247.8 kB / 1.441 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.5719, allocations: 54.53 kB / 1.441 GB, free: 11.3 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.572, allocations: 36.92 kB / 1.441 GB, free: 11.26 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.5722, allocations: 15.98 kB / 1.441 GB, free: 11.24 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5722, allocations: 30.56 kB / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5722, allocations: 0 / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.5728, allocations: 137.5 kB / 1.441 GB, free: 11.06 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5728, allocations: 51.41 kB / 1.441 GB, free: 11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.5729, allocations: 121.8 kB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5729, allocations: 25.7 kB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.573, allocations: 88.12 kB / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.573, allocations: 19.97 kB / 1.441 GB, free: 10.73 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.573, allocations: 9.719 kB / 1.441 GB, free: 10.71 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5732, allocations: 326.8 kB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.5733, allocations: 27.97 kB / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5735, allocations: 39.95 kB / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.5737, allocations: 64.8 kB / 1.442 GB, free: 10.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5737, allocations: 0 / 1.442 GB, free: 10.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003318/0.5741, allocations: 101.9 kB / 1.442 GB, free: 10.15 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5741, allocations: 8 kB / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.5741, allocations: 0 / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5741, allocations: 0 / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5742, allocations: 15.98 kB / 1.442 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5742, allocations: 0 / 1.442 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.5743, allocations: 15.94 kB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5743, allocations: 3.984 kB / 1.442 GB, free: 10.11 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.436e-05/0.5744, allocations: 124 kB / 1.442 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.5744, allocations: 0 / 1.442 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.5748, allocations: 113.5 kB / 1.442 GB, free: 9.848 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5748, allocations: 4 kB / 1.442 GB, free: 9.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5748, allocations: 3.938 kB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5748, allocations: 0 / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.575, allocations: 136.7 kB / 1.442 GB, free: 9.664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.575, allocations: 4 kB / 1.442 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.5751, allocations: 23.97 kB / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5751, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.5751, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5751, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5751, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.5755, allocations: 199.4 kB / 1.442 GB, free: 9.426 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.5755, allocations: 11.88 kB / 1.442 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5755, allocations: 7.938 kB / 1.442 GB, free: 9.406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5756, allocations: 15.98 kB / 1.443 GB, free: 9.391 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5756, allocations: 7.938 kB / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5756, allocations: 0 / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.5757, allocations: 91.7 kB / 1.443 GB, free: 9.293 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5757, allocations: 4 kB / 1.443 GB, free: 9.289 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002306/0.5759, allocations: 12 kB / 1.443 GB, free: 9.277 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.000712/0.5766, allocations: 0.7397 MB / 1.443 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.577, allocations: 67.86 kB / 1.443 GB, free: 8.445 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.577, allocations: 4 kB / 1.443 GB, free: 8.441 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5771, allocations: 35.95 kB / 1.443 GB, free: 8.406 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.5774, allocations: 13.55 kB / 1.443 GB, free: 8.395 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.5793, allocations: 1.421 MB / 1.445 GB, free: 6.898 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.5794, allocations: 71.27 kB / 1.445 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.5794, allocations: 7.906 kB / 1.445 GB, free: 6.801 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.5795, allocations: 19.77 kB / 1.445 GB, free: 6.781 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/0.5795, allocations: 3.938 kB / 1.445 GB, free: 6.777 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.6106, allocations: 2.705 MB / 1.448 GB, free: 4.227 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.78, allocations: 11.94 kB / 1.448 GB, free: 4.215 MB / 1.139 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/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: 19.04702075291425]