Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.12 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5918/0.5932, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002465/0.5957, allocations: 1.485 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1219/0.7176, allocations: 132.1 MB / 1.148 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.7177, allocations: 0 / 1.148 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.7178, allocations: 3.938 kB / 1.148 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.7178, allocations: 11.86 kB / 1.148 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.7181, allocations: 73.97 kB / 1.148 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.7182, allocations: 55.72 kB / 1.148 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.7183, allocations: 16 kB / 1.148 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.7184, allocations: 23.92 kB / 1.148 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.7184, allocations: 19.91 kB / 1.148 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.7185, allocations: 8 kB / 1.148 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.7185, allocations: 12 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.7186, allocations: 19.91 kB / 1.148 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.7186, allocations: 15.94 kB / 1.148 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.7187, allocations: 59.75 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7187, allocations: 4 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7187, allocations: 0 / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7188, allocations: 0 / 1.148 GB, free: 12.08 MB / 0.9044 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.0004722/0.7192, allocations: 375.3 kB / 1.149 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7193, allocations: 8.031 kB / 1.149 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.7193, allocations: 30.75 kB / 1.149 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.7193, allocations: 8.844 kB / 1.149 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.7195, allocations: 180.2 kB / 1.149 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.7195, allocations: 4.375 kB / 1.149 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.7195, allocations: 8.375 kB / 1.149 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.7197, allocations: 70.22 kB / 1.149 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.7198, allocations: 3.938 kB / 1.149 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.7198, allocations: 3.938 kB / 1.149 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.7198, allocations: 0 / 1.149 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.7201, allocations: 71.92 kB / 1.149 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.7204, allocations: 284.7 kB / 1.149 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.7206, allocations: 54.53 kB / 1.149 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.7208, allocations: 44.92 kB / 1.149 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.7209, allocations: 89.09 kB / 1.149 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7209, allocations: 34.56 kB / 1.149 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7209, allocations: 0 / 1.149 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005191/0.7215, allocations: 137.4 kB / 1.149 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.7215, allocations: 51.41 kB / 1.15 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.7216, allocations: 117.8 kB / 1.15 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.7216, allocations: 29.64 kB / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.7217, allocations: 92.12 kB / 1.15 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.7217, allocations: 3.906 kB / 1.15 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.7217, allocations: 21.72 kB / 1.15 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.7218, allocations: 318.8 kB / 1.15 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.722, allocations: 31.95 kB / 1.15 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.7221, allocations: 27.97 kB / 1.15 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.7224, allocations: 77 kB / 1.15 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7224, allocations: 0 / 1.15 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.7227, allocations: 105.5 kB / 1.15 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.7227, allocations: 4 kB / 1.15 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7227, allocations: 3.984 kB / 1.15 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7227, allocations: 0 / 1.15 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7229, allocations: 19.98 kB / 1.15 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.7229, allocations: 0 / 1.15 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.723, allocations: 15.92 kB / 1.15 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.723, allocations: 3.984 kB / 1.15 GB, free: 9.539 MB / 0.9044 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 6.724e-05/0.723, allocations: 117.8 kB / 1.15 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.7231, allocations: 3.906 kB / 1.15 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.7234, allocations: 113.4 kB / 1.151 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7234, allocations: 4 kB / 1.151 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.7234, allocations: 0 / 1.151 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7234, allocations: 0 / 1.151 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.7236, allocations: 169.7 kB / 1.151 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7236, allocations: 0 / 1.151 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.7237, allocations: 23.97 kB / 1.151 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7237, allocations: 0 / 1.151 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.7237, allocations: 4 kB / 1.151 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7237, allocations: 0 / 1.151 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7237, allocations: 0 / 1.151 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.7241, allocations: 199.3 kB / 1.151 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.7241, allocations: 85 kB / 1.151 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.7242, allocations: 8 kB / 1.151 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.7243, allocations: 11.98 kB / 1.151 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.7243, allocations: 0 / 1.151 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.7243, allocations: 4 kB / 1.151 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.7244, allocations: 95.2 kB / 1.151 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7244, allocations: 0 / 1.151 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002307/0.7246, allocations: 20 kB / 1.151 GB, free: 8.594 MB / 0.9044 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.0005943/0.7252, allocations: 0.7435 MB / 1.152 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.7256, allocations: 75.86 kB / 1.152 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7256, allocations: 0 / 1.152 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.7257, allocations: 35.95 kB / 1.152 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.726, allocations: 12 kB / 1.152 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.7277, allocations: 1.415 MB / 1.153 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.7279, allocations: 0.6865 MB / 1.154 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.7279, allocations: 12.22 kB / 1.154 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.728, allocations: 15.44 kB / 1.154 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.728, allocations: 0 / 1.154 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.7446, allocations: 2.025 MB / 1.156 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.819, allocations: 18.83 kB / 1.156 GB, free: 3.512 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches