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.007879/0.007879, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.687/2.687, allocations: 437.1 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00263/0.2924, allocations: 1.495 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7284/1.021, allocations: 132.1 MB / 1.297 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/1.021, allocations: 3.031 kB / 1.297 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/1.021, allocations: 4.594 kB / 1.297 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/1.021, allocations: 13.69 kB / 1.297 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/1.021, allocations: 70.86 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/1.021, allocations: 57.3 kB / 1.297 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/1.022, allocations: 19.36 kB / 1.297 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/1.022, allocations: 22.34 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/1.022, allocations: 24.33 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/1.022, allocations: 4.531 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/1.022, allocations: 15.75 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/1.022, allocations: 10.94 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/1.022, allocations: 19.5 kB / 1.297 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/1.022, allocations: 66.02 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.022, allocations: 0 / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/1.022, allocations: 0 / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.539e-06/1.022, allocations: 0 / 1.297 GB, free: 13.86 MB / 1.014 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.000543/1.023, allocations: 375.3 kB / 1.297 GB, free: 13.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/1.023, allocations: 9.656 kB / 1.297 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/1.023, allocations: 36.28 kB / 1.297 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/1.023, allocations: 9.156 kB / 1.297 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.023, allocations: 176.5 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/1.023, allocations: 1.469 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/1.023, allocations: 5.75 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/1.023, allocations: 74.61 kB / 1.298 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.023, allocations: 5.031 kB / 1.298 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/1.023, allocations: 8.328 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.023, allocations: 1.438 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/1.023, allocations: 63.7 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/1.024, allocations: 288.1 kB / 1.298 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/1.024, allocations: 62.48 kB / 1.298 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/1.024, allocations: 39.28 kB / 1.298 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/1.024, allocations: 93.28 kB / 1.298 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/1.024, allocations: 32.98 kB / 1.298 GB, free: 12.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/1.024, allocations: 0 / 1.298 GB, free: 12.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005483/1.025, allocations: 130.6 kB / 1.298 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.025, allocations: 57.8 kB / 1.298 GB, free: 12.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.025, allocations: 116.3 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/1.025, allocations: 25.7 kB / 1.298 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/1.025, allocations: 95.72 kB / 1.299 GB, free: 12.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.025, allocations: 16.59 kB / 1.299 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/1.025, allocations: 12.41 kB / 1.299 GB, free: 12.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.025, allocations: 326.2 kB / 1.299 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.026, allocations: 33.88 kB / 1.299 GB, free: 12.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/1.026, allocations: 31.8 kB / 1.299 GB, free: 12.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/1.026, allocations: 69.14 kB / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.026, allocations: 0 / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003304/1.026, allocations: 101.7 kB / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.026, allocations: 9.062 kB / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.026, allocations: 0 / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.026, allocations: 0 / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.027, allocations: 16.09 kB / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/1.027, allocations: 4.547 kB / 1.299 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/1.027, allocations: 17.11 kB / 1.299 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.027, allocations: 0 / 1.299 GB, free: 12.03 MB / 1.014 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 8.128e-05/1.027, allocations: 118 kB / 1.299 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/1.027, allocations: 3.953 kB / 1.299 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/1.027, allocations: 107.5 kB / 1.299 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.027, allocations: 8.547 kB / 1.299 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.027, allocations: 0 / 1.299 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.027, allocations: 0 / 1.299 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.027, allocations: 169.9 kB / 1.3 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.027, allocations: 3.812 kB / 1.3 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/1.027, allocations: 17.12 kB / 1.3 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.027, allocations: 1.562 kB / 1.3 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/1.028, allocations: 0.7969 kB / 1.3 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.028, allocations: 3.938 kB / 1.3 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.028, allocations: 1.844 kB / 1.3 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/1.028, allocations: 197.1 kB / 1.3 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/1.028, allocations: 84.05 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.028, allocations: 0.6562 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.028, allocations: 14.56 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/1.028, allocations: 12.12 kB / 1.3 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/1.028, allocations: 1.125 kB / 1.3 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.062e-05/1.028, allocations: 98.33 kB / 1.3 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 1.094 kB / 1.3 GB, free: 11.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002401/1.028, allocations: 16.03 kB / 1.3 GB, free: 11.34 MB / 1.014 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.0007427/1.029, allocations: 0.7422 MB / 1.301 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003398/1.03, allocations: 74.88 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.03, allocations: 0 / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/1.03, allocations: 42.09 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/1.03, allocations: 14.25 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/1.032, allocations: 1.42 MB / 1.302 GB, free: 9.488 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.032, allocations: 0.6823 MB / 1.303 GB, free: 8.793 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.389e-05/1.032, allocations: 3.484 kB / 1.303 GB, free: 8.793 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/1.032, allocations: 22.23 kB / 1.303 GB, free: 8.781 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.032, allocations: 0 / 1.303 GB, free: 8.781 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/1.056, allocations: 2.067 MB / 1.305 GB, free: 8.379 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/9.108, allocations: 13.06 kB / 1.305 GB, free: 8.367 MB / 1.014 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