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.001819/0.001819, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002411/0.002411, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.612/1.612, allocations: 230.6 MB / 252.8 MB, free: 9.156 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.793/2.793, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.002099/0.002099, allocations: 63.91 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8394, allocations: 169.9 MB / 1.278 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002707/0.8421, allocations: 1.509 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1632/1.005, allocations: 135.3 MB / 1.412 GB, free: 4.184 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/1.005, allocations: 7.938 kB / 1.412 GB, free: 4.176 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/1.005, allocations: 3.984 kB / 1.412 GB, free: 4.172 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/1.006, allocations: 7.875 kB / 1.412 GB, free: 4.164 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/1.006, allocations: 69.48 kB / 1.412 GB, free: 4.098 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/1.006, allocations: 59.78 kB / 1.412 GB, free: 4.039 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/1.006, allocations: 11.98 kB / 1.412 GB, free: 4.027 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/1.006, allocations: 19.92 kB / 1.412 GB, free: 4.008 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/1.006, allocations: 27.91 kB / 1.412 GB, free: 3.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/1.006, allocations: 4 kB / 1.412 GB, free: 3.977 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/1.006, allocations: 27.92 kB / 1.412 GB, free: 3.949 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/1.006, allocations: 7.938 kB / 1.412 GB, free: 3.941 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/1.006, allocations: 23.92 kB / 1.412 GB, free: 3.918 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/1.007, allocations: 59.67 kB / 1.412 GB, free: 3.859 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.007, allocations: 0 / 1.412 GB, free: 3.859 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/1.007, allocations: 4 kB / 1.412 GB, free: 3.855 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.007, allocations: 0 / 1.412 GB, free: 3.855 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.0006568/1.007, allocations: 371.3 kB / 1.412 GB, free: 3.441 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.007, allocations: 12.03 kB / 1.413 GB, free: 3.43 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/1.007, allocations: 42.67 kB / 1.413 GB, free: 3.379 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/1.007, allocations: 8.891 kB / 1.413 GB, free: 3.371 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/1.008, allocations: 168.3 kB / 1.413 GB, free: 3.168 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.008, allocations: 4.375 kB / 1.413 GB, free: 3.164 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/1.008, allocations: 4.375 kB / 1.413 GB, free: 3.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/1.008, allocations: 78.19 kB / 1.413 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.008, allocations: 3.938 kB / 1.413 GB, free: 3.074 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/1.008, allocations: 0 / 1.413 GB, free: 3.074 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.008, allocations: 4 kB / 1.413 GB, free: 3.07 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/1.008, allocations: 71.92 kB / 1.413 GB, free: 3 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/1.009, allocations: 288.7 kB / 1.413 GB, free: 2.668 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/1.009, allocations: 50.55 kB / 1.413 GB, free: 2.609 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/1.009, allocations: 48.84 kB / 1.413 GB, free: 2.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/1.009, allocations: 89.09 kB / 1.413 GB, free: 2.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.009, allocations: 30.56 kB / 1.413 GB, free: 2.414 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/1.009, allocations: 0 / 1.413 GB, free: 2.414 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005775/1.01, allocations: 137.5 kB / 1.413 GB, free: 2.273 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.01, allocations: 55.41 kB / 1.414 GB, free: 2.207 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.01, allocations: 117.8 kB / 1.414 GB, free: 2.082 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/1.01, allocations: 25.7 kB / 1.414 GB, free: 2.051 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/1.01, allocations: 88.14 kB / 1.414 GB, free: 1.961 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/1.01, allocations: 15.84 kB / 1.414 GB, free: 1.945 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/1.01, allocations: 17.7 kB / 1.414 GB, free: 1.922 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.01, allocations: 322.8 kB / 1.414 GB, free: 1.598 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/1.011, allocations: 31.97 kB / 1.414 GB, free: 1.566 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/1.011, allocations: 31.95 kB / 1.414 GB, free: 1.535 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/1.011, allocations: 72.78 kB / 1.414 GB, free: 1.461 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.011, allocations: 0 / 1.414 GB, free: 1.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003434/1.011, allocations: 97.56 kB / 1.414 GB, free: 1.359 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.011, allocations: 4 kB / 1.414 GB, free: 1.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.011, allocations: 4 kB / 1.414 GB, free: 1.352 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/1.011, allocations: 0 / 1.414 GB, free: 1.352 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.012, allocations: 11.98 kB / 1.414 GB, free: 1.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.012, allocations: 4 kB / 1.414 GB, free: 1.336 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/1.012, allocations: 15.97 kB / 1.414 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.012, allocations: 0 / 1.414 GB, free: 1.32 MB / 1.107 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.000158/1.012, allocations: 117.8 kB / 1.414 GB, free: 1.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.012, allocations: 7.953 kB / 1.414 GB, free: 1.188 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/1.012, allocations: 117.4 kB / 1.415 GB, free: 1.055 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.012, allocations: 0 / 1.415 GB, free: 1.055 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.012, allocations: 4 kB / 1.415 GB, free: 1.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.012, allocations: 0 / 1.415 GB, free: 1.051 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/1.012, allocations: 173.6 kB / 1.415 GB, free: 0.832 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.012, allocations: 0 / 1.415 GB, free: 0.832 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.013, allocations: 15.98 kB / 1.415 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.013, allocations: 3.938 kB / 1.415 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/1.013, allocations: 0 / 1.415 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.013, allocations: 4 kB / 1.415 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.013, allocations: 0 / 1.415 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/1.013, allocations: 207.3 kB / 1.415 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/1.013, allocations: 77.11 kB / 1.415 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/1.013, allocations: 0 / 1.415 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.013, allocations: 15.98 kB / 1.415 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/1.013, allocations: 7.984 kB / 1.415 GB, free: 484 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/1.013, allocations: 0 / 1.415 GB, free: 484 kB / 1.107 GB Notification: Performance of sorting global known variables: time 6.949e-05/1.013, allocations: 99.64 kB / 1.415 GB, free: 384 kB / 1.107 GB Notification: Performance of sort global known variables: time 7.1e-08/1.013, allocations: 0 / 1.415 GB, free: 384 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002439/1.014, allocations: 19.89 kB / 1.415 GB, free: 364 kB / 1.107 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.0008362/1.014, allocations: 0.7368 MB / 1.416 GB, free: 15.59 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003816/1.015, allocations: 75.88 kB / 1.416 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.015, allocations: 4 kB / 1.416 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/1.015, allocations: 31.97 kB / 1.416 GB, free: 15.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.015, allocations: 15.98 kB / 1.416 GB, free: 15.47 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/1.017, allocations: 1.419 MB / 1.417 GB, free: 13.97 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/1.018, allocations: 0.6807 MB / 1.418 GB, free: 13.26 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.746e-05/1.018, allocations: 8 kB / 1.418 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/1.018, allocations: 19.42 kB / 1.418 GB, free: 13.23 MB / 1.123 GB Notification: Performance of SimCode: time 2.9e-07/1.018, allocations: 0 / 1.418 GB, free: 13.23 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/1.044, allocations: 2.084 MB / 1.42 GB, free: 11.26 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.425, allocations: 13.23 kB / 1.42 GB, free: 11.25 MB / 1.123 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/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: 15.82570048305206]