Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008285/0.0008285, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000898/0.000898, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9109/0.9109, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.687/1.687, allocations: 359 MB / 0.6037 GB, free: 11.11 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.351e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001545/0.001558, allocations: 1.298 MB / 0.9518 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5786/0.5801, allocations: 115.8 MB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.5802, allocations: 4.859 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.5802, allocations: 0 / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.5802, allocations: 8.156 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.5806, allocations: 54.62 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.5807, allocations: 20.58 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.5807, allocations: 2.938 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.5808, allocations: 15.2 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.5808, allocations: 10.14 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.5809, allocations: 4 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.5809, allocations: 18.52 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.5809, allocations: 4.453 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.581, allocations: 9.203 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.5811, allocations: 29.17 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5811, allocations: 0 / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5811, allocations: 5.344 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5811, allocations: 0 / 1.065 GB, free: 41.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003046/0.5814, allocations: 253.2 kB / 1.065 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5814, allocations: 14.17 kB / 1.065 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.339e-05/0.5814, allocations: 34.25 kB / 1.065 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.5815, allocations: 6.828 kB / 1.065 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.855e-05/0.5815, allocations: 111.3 kB / 1.065 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.5816, allocations: 54.94 kB / 1.065 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.5816, allocations: 384 / 1.065 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.5817, allocations: 44.98 kB / 1.065 GB, free: 41.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5817, allocations: 3.156 kB / 1.066 GB, free: 41.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.5817, allocations: 384 / 1.066 GB, free: 41.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5817, allocations: 3.938 kB / 1.066 GB, free: 41.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.5818, allocations: 19.66 kB / 1.066 GB, free: 41.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.5819, allocations: 123.4 kB / 1.066 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.5819, allocations: 32.3 kB / 1.066 GB, free: 41.22 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.582, allocations: 10.61 kB / 1.066 GB, free: 41.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5821, allocations: 15.61 kB / 1.066 GB, free: 41.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.5821, allocations: 30.56 kB / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5821, allocations: 0 / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.000159/0.5822, allocations: 65.06 kB / 1.066 GB, free: 41.14 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.5823, allocations: 54.69 kB / 1.066 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.58e-05/0.5823, allocations: 96.58 kB / 1.066 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.5823, allocations: 25.7 kB / 1.066 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-06/0.5823, allocations: 84.25 kB / 1.066 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.5823, allocations: 8.766 kB / 1.066 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.5824, allocations: 20.14 kB / 1.066 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.787e-05/0.5824, allocations: 313.9 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.5824, allocations: 5.906 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.5824, allocations: 9.469 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.5825, allocations: 27.08 kB / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5825, allocations: 0 / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.215e-05/0.5825, allocations: 53.11 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5826, allocations: 8.25 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5826, allocations: 1.031 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5826, allocations: 7.562 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.5826, allocations: 5.656 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5826, allocations: 0 / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.5826, allocations: 6.969 kB / 1.066 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.5826, allocations: 7.328 kB / 1.066 GB, free: 40.47 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 3.543e-05/0.5827, allocations: 108.5 kB / 1.067 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-06/0.5827, allocations: 2.938 kB / 1.067 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.844e-05/0.5828, allocations: 60.3 kB / 1.067 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5828, allocations: 3.938 kB / 1.067 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5828, allocations: 48 / 1.067 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5828, allocations: 10.36 kB / 1.067 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.264e-05/0.5828, allocations: 122.7 kB / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5828, allocations: 0 / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.5829, allocations: 9.875 kB / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5829, allocations: 0 / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5829, allocations: 0 / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5829, allocations: 7.172 kB / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5829, allocations: 2.625 kB / 1.067 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.759e-05/0.5829, allocations: 75.47 kB / 1.067 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.583, allocations: 6.25 kB / 1.067 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.583, allocations: 1.203 kB / 1.067 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.583, allocations: 6.719 kB / 1.067 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.583, allocations: 6.844 kB / 1.067 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.583, allocations: 6.938 kB / 1.067 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.583, allocations: 75.28 kB / 1.067 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.583, allocations: 0 / 1.067 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000132/0.5832, allocations: 11.38 kB / 1.067 GB, free: 40.01 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.0002254/0.5834, allocations: 0.6186 MB / 1.068 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.354e-05/0.5835, allocations: 23.3 kB / 1.068 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5835, allocations: 0 / 1.068 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.5835, allocations: 9.797 kB / 1.068 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.5837, allocations: 21.31 kB / 1.068 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.584, allocations: 146.9 kB / 1.068 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.5841, allocations: 57.05 kB / 1.068 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.5841, allocations: 10.31 kB / 1.068 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.5841, allocations: 11.62 kB / 1.068 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of SimCode: time 4.41e-07/0.5841, allocations: 0 / 1.068 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.6001, allocations: 2.041 MB / 1.07 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.564, allocations: 7.812 kB / 1.07 GB, free: 38.33 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.711621027439833]