Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001335/0.001335, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002732/0.002732, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.773 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.309/3.309, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_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.002119/0.002119, allocations: 72.64 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002536/0.396, allocations: 1.303 MB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.556, allocations: 115.7 MB / 1.439 GB, free: 12.87 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.556, allocations: 4 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.5561, allocations: 0 / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.5561, allocations: 3.938 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.5565, allocations: 55.95 kB / 1.439 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.5566, allocations: 23.81 kB / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.5566, allocations: 0 / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.5567, allocations: 19.97 kB / 1.439 GB, free: 12.76 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.5568, allocations: 7.938 kB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5568, allocations: 0 / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.5569, allocations: 23.92 kB / 1.44 GB, free: 12.73 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.5569, allocations: 8 kB / 1.44 GB, free: 12.72 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.5569, allocations: 4 kB / 1.44 GB, free: 12.72 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.557, allocations: 23.91 kB / 1.44 GB, free: 12.7 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.557, allocations: 0 / 1.44 GB, free: 12.7 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.944e-06/0.557, allocations: 4 kB / 1.44 GB, free: 12.69 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.557, allocations: 0 / 1.44 GB, free: 12.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004907/0.5575, allocations: 258.3 kB / 1.44 GB, free: 12.41 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5576, allocations: 8.031 kB / 1.44 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.5576, allocations: 34.75 kB / 1.44 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.5576, allocations: 4.938 kB / 1.44 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5578, allocations: 110.5 kB / 1.44 GB, free: 12.22 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5579, allocations: 63.89 kB / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.5579, allocations: 384 / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.558, allocations: 46 kB / 1.44 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.558, allocations: 0 / 1.44 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.558, allocations: 0 / 1.44 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.558, allocations: 0 / 1.44 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.5581, allocations: 11.98 kB / 1.44 GB, free: 12.08 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.5583, allocations: 128.7 kB / 1.44 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.5585, allocations: 42.53 kB / 1.44 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.5585, allocations: 16.86 kB / 1.44 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.5587, allocations: 16.02 kB / 1.44 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5588, allocations: 38.44 kB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5588, allocations: 0 / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.000266/0.559, allocations: 57.67 kB / 1.44 GB, free: 11.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5591, allocations: 51.41 kB / 1.44 GB, free: 11.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.5592, allocations: 97.86 kB / 1.44 GB, free: 11.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5592, allocations: 33.69 kB / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.5592, allocations: 80.14 kB / 1.441 GB, free: 11.43 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.5593, allocations: 7.953 kB / 1.441 GB, free: 11.42 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.5593, allocations: 13.72 kB / 1.441 GB, free: 11.4 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5595, allocations: 318.8 kB / 1.441 GB, free: 11.08 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.5595, allocations: 7.984 kB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.5596, allocations: 8 kB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.5597, allocations: 24.84 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5597, allocations: 4 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001253/0.5598, allocations: 53.64 kB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5598, allocations: 7.938 kB / 1.441 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5598, allocations: 0 / 1.441 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5598, allocations: 4 kB / 1.441 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.5599, allocations: 7.984 kB / 1.441 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5599, allocations: 3.938 kB / 1.441 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.5599, allocations: 0 / 1.441 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.5599, allocations: 4 kB / 1.441 GB, free: 10.95 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 0.0001074/0.56, allocations: 106.4 kB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.5601, allocations: 7.938 kB / 1.441 GB, free: 10.83 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5602, allocations: 61.36 kB / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5602, allocations: 0 / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5602, allocations: 0 / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5603, allocations: 0 / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.5604, allocations: 124.8 kB / 1.441 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5604, allocations: 0 / 1.441 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.5605, allocations: 8 kB / 1.441 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5605, allocations: 4.5 kB / 1.441 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5605, allocations: 0 / 1.441 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5605, allocations: 7.938 kB / 1.441 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5605, allocations: 0 / 1.441 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.5606, allocations: 77.09 kB / 1.441 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.5607, allocations: 19.83 kB / 1.441 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.5607, allocations: 0 / 1.441 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.5607, allocations: 3.984 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.5608, allocations: 4 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5608, allocations: 0 / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.5608, allocations: 83.22 kB / 1.442 GB, free: 10.37 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5608, allocations: 0 / 1.442 GB, free: 10.37 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001887/0.561, allocations: 15.94 kB / 1.442 GB, free: 10.35 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.0005487/0.5616, allocations: 0.6202 MB / 1.442 GB, free: 9.699 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.5617, allocations: 23.98 kB / 1.442 GB, free: 9.676 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5617, allocations: 0 / 1.442 GB, free: 9.676 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.5618, allocations: 11.92 kB / 1.442 GB, free: 9.664 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.562, allocations: 8 kB / 1.442 GB, free: 9.656 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.5625, allocations: 161.8 kB / 1.442 GB, free: 9.457 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.5625, allocations: 55.36 kB / 1.442 GB, free: 9.383 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.5625, allocations: 4 kB / 1.442 GB, free: 9.379 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.5626, allocations: 7.438 kB / 1.442 GB, free: 9.371 MB / 1.139 GB Notification: Performance of SimCode: time 3.41e-07/0.5626, allocations: 4 kB / 1.442 GB, free: 9.367 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.5936, allocations: 1.907 MB / 1.444 GB, free: 7.602 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.79, allocations: 13.97 kB / 1.444 GB, free: 7.59 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.074320054147393]