Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008758/0.0008758, 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.0009964/0.0009964, 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.896/0.896, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.778/1.778, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.382e-05, allocations: 4.812 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00204/0.002064, allocations: 1.494 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5442/0.5463, allocations: 115.8 MB / 1.114 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.5463, allocations: 1.188 kB / 1.114 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.5464, allocations: 5.344 kB / 1.114 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.5464, allocations: 14.72 kB / 1.114 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.5469, allocations: 74.75 kB / 1.114 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.547, allocations: 52.56 kB / 1.114 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.5471, allocations: 10.72 kB / 1.114 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.5472, allocations: 23.97 kB / 1.114 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.5472, allocations: 24.48 kB / 1.114 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.5472, allocations: 5.531 kB / 1.114 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.5473, allocations: 23.95 kB / 1.114 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.5473, allocations: 11.48 kB / 1.114 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.5474, allocations: 12.38 kB / 1.114 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.5475, allocations: 71.69 kB / 1.115 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5475, allocations: 1.281 kB / 1.115 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5475, allocations: 0 / 1.115 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5475, allocations: 0 / 1.115 GB, free: 11.49 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.0003642/0.5479, allocations: 294.9 kB / 1.115 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5479, allocations: 10.84 kB / 1.115 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.5479, allocations: 36.53 kB / 1.115 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.548, allocations: 11.55 kB / 1.115 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.847e-05/0.5481, allocations: 121.7 kB / 1.115 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5481, allocations: 2.812 kB / 1.115 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.5481, allocations: 6.594 kB / 1.115 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5483, allocations: 75.56 kB / 1.115 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5483, allocations: 1.281 kB / 1.115 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5483, allocations: 384 / 1.115 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5483, allocations: 5.25 kB / 1.115 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.5485, allocations: 69.7 kB / 1.115 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.5488, allocations: 247.4 kB / 1.115 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.5489, allocations: 59.14 kB / 1.115 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.549, allocations: 37.03 kB / 1.115 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.549, allocations: 0 / 1.115 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.549, allocations: 37.95 kB / 1.116 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.549, allocations: 0 / 1.116 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0003151/0.5493, allocations: 141.6 kB / 1.116 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.5494, allocations: 51.41 kB / 1.116 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.5494, allocations: 117.8 kB / 1.116 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.5494, allocations: 32.98 kB / 1.116 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.5494, allocations: 93.14 kB / 1.116 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.5495, allocations: 9.5 kB / 1.116 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.5495, allocations: 17.53 kB / 1.116 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.684e-05/0.5495, allocations: 315 kB / 1.116 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.5496, allocations: 31.08 kB / 1.116 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.5497, allocations: 31.38 kB / 1.116 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5498, allocations: 74.92 kB / 1.116 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5498, allocations: 1.312 kB / 1.116 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001691/0.55, allocations: 109.8 kB / 1.116 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.55, allocations: 6.875 kB / 1.116 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.55, allocations: 0 / 1.116 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.55, allocations: 4 kB / 1.116 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.5501, allocations: 14.92 kB / 1.117 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.5501, allocations: 4.938 kB / 1.117 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.5501, allocations: 11.88 kB / 1.117 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5501, allocations: 0 / 1.117 GB, free: 9.852 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.916e-05/0.5502, allocations: 114.1 kB / 1.117 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.5502, allocations: 11.39 kB / 1.117 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.5502, allocations: 9.938 kB / 1.117 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5502, allocations: 8.594 kB / 1.117 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5502, allocations: 1.406 kB / 1.117 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5502, allocations: 3.938 kB / 1.117 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.5503, allocations: 135.2 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.5503, allocations: 1.156 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.5503, allocations: 15.77 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5503, allocations: 0 / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.5504, allocations: 1.125 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5504, allocations: 0.75 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5504, allocations: 1.312 kB / 1.117 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5505, allocations: 206.8 kB / 1.117 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.5506, allocations: 3.047 kB / 1.117 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.5506, allocations: 1.938 kB / 1.117 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.5506, allocations: 10.02 kB / 1.117 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.5507, allocations: 9.75 kB / 1.117 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5507, allocations: 3.094 kB / 1.117 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.556e-05/0.5507, allocations: 99.48 kB / 1.117 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5507, allocations: 0 / 1.117 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001537/0.5508, allocations: 13.34 kB / 1.117 GB, free: 9.301 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.0002714/0.5511, allocations: 0.7278 MB / 1.118 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.5513, allocations: 71.92 kB / 1.118 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5513, allocations: 0 / 1.118 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.5514, allocations: 42.81 kB / 1.118 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5516, allocations: 10.27 kB / 1.118 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.5526, allocations: 1.413 MB / 1.119 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.389e-05/0.5526, allocations: 70.34 kB / 1.119 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.5527, allocations: 2.828 kB / 1.119 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.5527, allocations: 20.23 kB / 1.119 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of SimCode: time 5.71e-07/0.5527, allocations: 3.938 kB / 1.119 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.5674, allocations: 2.733 MB / 1.122 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.459, allocations: 5.406 kB / 1.122 GB, free: 6.344 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.67593771405518]