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.0009159/0.0009159, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000953/0.000953, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9053/0.9053, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.455e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001727/0.001742, allocations: 1.508 MB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5647/0.5664, allocations: 115.8 MB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.5665, allocations: 2.812 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.5665, allocations: 5.156 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.5666, allocations: 8.016 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.567, allocations: 71.7 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.5671, allocations: 55.41 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.5672, allocations: 8.984 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.5673, allocations: 31.42 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.5674, allocations: 24.31 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.5674, allocations: 2.938 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.5675, allocations: 22.91 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.5675, allocations: 4.391 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.5675, allocations: 20.5 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5677, allocations: 63.39 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5677, allocations: 1.203 kB / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5677, allocations: 0 / 1.065 GB, free: 42 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5677, allocations: 3.469 kB / 1.065 GB, free: 42 MB / 0.9948 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.0004259/0.5681, allocations: 302.8 kB / 1.066 GB, free: 41.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5682, allocations: 8.719 kB / 1.066 GB, free: 41.73 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.5682, allocations: 30.75 kB / 1.066 GB, free: 41.69 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.5682, allocations: 7.672 kB / 1.066 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.5683, allocations: 120.7 kB / 1.066 GB, free: 41.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5683, allocations: 3.438 kB / 1.066 GB, free: 41.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.5683, allocations: 3.312 kB / 1.066 GB, free: 41.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.5685, allocations: 73.92 kB / 1.066 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5685, allocations: 4.188 kB / 1.066 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5685, allocations: 6.531 kB / 1.066 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5685, allocations: 4.125 kB / 1.066 GB, free: 41.51 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.5687, allocations: 70.25 kB / 1.066 GB, free: 41.51 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.569, allocations: 240.2 kB / 1.066 GB, free: 41.28 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.5691, allocations: 64.02 kB / 1.066 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.5692, allocations: 38.89 kB / 1.066 GB, free: 41.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.5693, allocations: 17.52 kB / 1.066 GB, free: 41.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.5693, allocations: 30.56 kB / 1.066 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5693, allocations: 1.203 kB / 1.066 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0003122/0.5696, allocations: 133.4 kB / 1.066 GB, free: 41.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.5697, allocations: 51.41 kB / 1.067 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.5697, allocations: 119.3 kB / 1.067 GB, free: 41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.5697, allocations: 25.7 kB / 1.067 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.5698, allocations: 90.12 kB / 1.067 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.5698, allocations: 11.27 kB / 1.067 GB, free: 40.88 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.5698, allocations: 12.5 kB / 1.067 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.5698, allocations: 321.4 kB / 1.067 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.5699, allocations: 33.94 kB / 1.067 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.57, allocations: 33.77 kB / 1.067 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.5701, allocations: 73.17 kB / 1.067 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5701, allocations: 0 / 1.067 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001577/0.5703, allocations: 108 kB / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5703, allocations: 5.688 kB / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5703, allocations: 2.062 kB / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5703, allocations: 0 / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.5704, allocations: 16.78 kB / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5704, allocations: 2.688 kB / 1.067 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.5704, allocations: 17.47 kB / 1.067 GB, free: 40.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.5704, allocations: 2.469 kB / 1.067 GB, free: 40.49 MB / 0.9948 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 4.736e-05/0.5705, allocations: 111.8 kB / 1.067 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.5705, allocations: 9.938 kB / 1.067 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.5707, allocations: 106.3 kB / 1.068 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5707, allocations: 2.812 kB / 1.068 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5707, allocations: 0 / 1.068 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5707, allocations: 7.328 kB / 1.068 GB, free: 40.33 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.5708, allocations: 135.4 kB / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.5708, allocations: 0 / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.5708, allocations: 19.34 kB / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.5708, allocations: 0 / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.5709, allocations: 0 / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.5709, allocations: 2.844 kB / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.5709, allocations: 0 / 1.068 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.571, allocations: 202 kB / 1.068 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.571, allocations: 3.953 kB / 1.068 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.571, allocations: 2.844 kB / 1.068 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.5711, allocations: 13.52 kB / 1.068 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.5711, allocations: 10.03 kB / 1.068 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.5711, allocations: 0 / 1.068 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.5712, allocations: 95.19 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5712, allocations: 0 / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001516/0.5713, allocations: 21.22 kB / 1.068 GB, free: 39.95 MB / 0.9948 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.000334/0.5717, allocations: 0.736 MB / 1.069 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.5718, allocations: 73.19 kB / 1.069 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5718, allocations: 4 kB / 1.069 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.5719, allocations: 33.48 kB / 1.069 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.5721, allocations: 20.48 kB / 1.069 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/0.573, allocations: 1.424 MB / 1.07 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.5731, allocations: 69.75 kB / 1.07 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.5731, allocations: 6.938 kB / 1.07 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.5731, allocations: 16.02 kB / 1.07 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.5731, allocations: 0 / 1.07 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.5875, allocations: 2.829 MB / 1.073 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.484, allocations: 10.19 kB / 1.073 GB, free: 37.1 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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.604273095726967]