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.001306/0.001306, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001545/0.001545, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.008 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.408/3.408, allocations: 0.49 GB / 0.7951 GB, free: 33.55 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.00287/0.00287, allocations: 66.83 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4977, allocations: 176.1 MB / 1.326 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002714/0.5004, allocations: 1.521 MB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.6836, allocations: 135.3 MB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.6837, allocations: 4 kB / 1.459 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.6838, allocations: 3.938 kB / 1.459 GB, free: 8.691 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.6838, allocations: 7.922 kB / 1.459 GB, free: 8.684 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.6843, allocations: 71.58 kB / 1.46 GB, free: 8.613 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.6844, allocations: 55.69 kB / 1.46 GB, free: 8.562 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6845, allocations: 15.98 kB / 1.46 GB, free: 8.547 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.6846, allocations: 19.92 kB / 1.46 GB, free: 8.527 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.6847, allocations: 23.92 kB / 1.46 GB, free: 8.504 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.6847, allocations: 4 kB / 1.46 GB, free: 8.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.6848, allocations: 31.92 kB / 1.46 GB, free: 8.469 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.6848, allocations: 11.92 kB / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.6849, allocations: 19.88 kB / 1.46 GB, free: 8.438 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.685, allocations: 59.8 kB / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.685, allocations: 0 / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.974e-06/0.685, allocations: 0 / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.685, allocations: 0 / 1.46 GB, free: 8.379 MB / 1.154 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.0005755/0.6856, allocations: 306.1 kB / 1.46 GB, free: 8.047 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6857, allocations: 12.03 kB / 1.46 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.6857, allocations: 30.75 kB / 1.46 GB, free: 7.996 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.6857, allocations: 8.891 kB / 1.46 GB, free: 7.988 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.6859, allocations: 114.4 kB / 1.46 GB, free: 7.852 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6859, allocations: 384 / 1.46 GB, free: 7.852 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.6859, allocations: 12.31 kB / 1.46 GB, free: 7.84 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.6862, allocations: 78.2 kB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6862, allocations: 3.938 kB / 1.46 GB, free: 7.754 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.6862, allocations: 0 / 1.46 GB, free: 7.754 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6862, allocations: 0 / 1.46 GB, free: 7.754 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.6865, allocations: 67.91 kB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.6869, allocations: 259.8 kB / 1.461 GB, free: 7.391 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.6872, allocations: 54.47 kB / 1.461 GB, free: 7.328 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.6873, allocations: 44.91 kB / 1.461 GB, free: 7.281 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6875, allocations: 12 kB / 1.461 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6875, allocations: 34.55 kB / 1.461 GB, free: 7.227 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6875, allocations: 4 kB / 1.461 GB, free: 7.223 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0005637/0.6881, allocations: 129.5 kB / 1.461 GB, free: 7.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.6881, allocations: 55.41 kB / 1.461 GB, free: 7.023 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.6882, allocations: 125.8 kB / 1.461 GB, free: 6.891 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.6883, allocations: 25.7 kB / 1.461 GB, free: 6.859 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.6883, allocations: 84.14 kB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6883, allocations: 11.91 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.6884, allocations: 13.72 kB / 1.461 GB, free: 6.742 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6885, allocations: 322.8 kB / 1.461 GB, free: 6.418 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.6887, allocations: 31.97 kB / 1.462 GB, free: 6.387 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6888, allocations: 35.95 kB / 1.462 GB, free: 6.352 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.689, allocations: 61.08 kB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6891, allocations: 0 / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/0.6894, allocations: 113.5 kB / 1.462 GB, free: 6.172 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6894, allocations: 4 kB / 1.462 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6894, allocations: 0 / 1.462 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6894, allocations: 0 / 1.462 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.6895, allocations: 19.98 kB / 1.462 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6895, allocations: 0 / 1.462 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.6896, allocations: 19.94 kB / 1.462 GB, free: 6.129 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.6896, allocations: 0 / 1.462 GB, free: 6.129 MB / 1.154 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.0001102/0.6897, allocations: 114.3 kB / 1.462 GB, free: 6.008 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.6898, allocations: 7.938 kB / 1.462 GB, free: 6 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.6901, allocations: 113.5 kB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6901, allocations: 0 / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6901, allocations: 8 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6901, allocations: 0 / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.6903, allocations: 152.7 kB / 1.462 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6903, allocations: 0 / 1.462 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.6904, allocations: 15.98 kB / 1.462 GB, free: 5.656 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6904, allocations: 4 kB / 1.462 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.6904, allocations: 0 / 1.462 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-06/0.6904, allocations: 0 / 1.462 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6904, allocations: 0 / 1.462 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.6908, allocations: 203.3 kB / 1.462 GB, free: 5.438 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.6908, allocations: 11.89 kB / 1.462 GB, free: 5.426 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6908, allocations: 4 kB / 1.462 GB, free: 5.422 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.691, allocations: 11.98 kB / 1.462 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.691, allocations: 11.92 kB / 1.462 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.691, allocations: 0 / 1.462 GB, free: 5.398 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.6911, allocations: 95.27 kB / 1.462 GB, free: 5.305 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6911, allocations: 0 / 1.462 GB, free: 5.305 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002374/0.6913, allocations: 16 kB / 1.463 GB, free: 5.289 MB / 1.154 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.0007852/0.6921, allocations: 0.7375 MB / 1.463 GB, free: 4.527 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.6925, allocations: 67.86 kB / 1.463 GB, free: 4.461 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6925, allocations: 0 / 1.463 GB, free: 4.461 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.6926, allocations: 43.95 kB / 1.463 GB, free: 4.418 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.693, allocations: 5.562 kB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.695, allocations: 1.432 MB / 1.465 GB, free: 2.906 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.6953, allocations: 0.6845 MB / 1.465 GB, free: 2.195 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.6954, allocations: 7.984 kB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.6954, allocations: 19.42 kB / 1.465 GB, free: 2.168 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/0.6954, allocations: 4 kB / 1.465 GB, free: 2.164 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.7277, allocations: 2.179 MB / 1.468 GB, free: 132 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.39, allocations: 0.7031 kB / 1.468 GB, free: 132 kB / 1.154 GB " [Timeout remaining time 289] (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: 18.573591915002908]