Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_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.007477/0.007477, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001789/0.001789, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.622/2.622, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002411/0.2971, allocations: 1.272 MB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7764/1.073, allocations: 132 MB / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/1.074, allocations: 0 / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/1.074, allocations: 5.781 kB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/1.074, allocations: 7.031 kB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/1.074, allocations: 58.8 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/1.074, allocations: 20.98 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/1.074, allocations: 3.547 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/1.074, allocations: 16.52 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/1.074, allocations: 9.391 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/1.074, allocations: 1.094 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/1.074, allocations: 17.25 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/1.074, allocations: 1.844 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/1.074, allocations: 11.61 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/1.074, allocations: 24.41 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.075, allocations: 0 / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/1.075, allocations: 0.9062 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.448e-06/1.075, allocations: 0 / 1.296 GB, free: 13.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000418/1.075, allocations: 337.3 kB / 1.297 GB, free: 13.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.075, allocations: 9.5 kB / 1.297 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/1.075, allocations: 39.89 kB / 1.297 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/1.075, allocations: 3.188 kB / 1.297 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/1.075, allocations: 166.7 kB / 1.297 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.075, allocations: 30.88 kB / 1.297 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/1.075, allocations: 1.5 kB / 1.297 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/1.075, allocations: 48.5 kB / 1.297 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/1.075, allocations: 7.984 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/1.075, allocations: 0 / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.076, allocations: 1.094 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/1.076, allocations: 14.67 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/1.076, allocations: 151.6 kB / 1.297 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.412e-05/1.076, allocations: 30.44 kB / 1.297 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/1.076, allocations: 15.03 kB / 1.297 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/1.076, allocations: 93.39 kB / 1.297 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.076, allocations: 40.31 kB / 1.297 GB, free: 12.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/1.076, allocations: 0 / 1.297 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002407/1.076, allocations: 53.83 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.076, allocations: 55.34 kB / 1.298 GB, free: 12.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/1.077, allocations: 103.1 kB / 1.298 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.077, allocations: 25.7 kB / 1.298 GB, free: 12.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/1.077, allocations: 81.2 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.077, allocations: 13.64 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/1.077, allocations: 14.02 kB / 1.298 GB, free: 12.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.077, allocations: 316.4 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/1.077, allocations: 5.531 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/1.077, allocations: 7.203 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/1.077, allocations: 29.11 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.077, allocations: 1.875 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001344/1.077, allocations: 49.12 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.077, allocations: 8.406 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.077, allocations: 1.984 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.077, allocations: 0 / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/1.077, allocations: 6.859 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.077, allocations: 0 / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/1.077, allocations: 13.77 kB / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/1.077, allocations: 1.25 kB / 1.298 GB, free: 12.16 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 7.82e-05/1.077, allocations: 115.6 kB / 1.298 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/1.077, allocations: 5.25 kB / 1.298 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/1.078, allocations: 57.81 kB / 1.298 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.078, allocations: 0 / 1.298 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.078, allocations: 2.312 kB / 1.298 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.078, allocations: 0 / 1.298 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/1.078, allocations: 155 kB / 1.299 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.078, allocations: 7.984 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.078, allocations: 7.844 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.078, allocations: 3.938 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.078, allocations: 1.156 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.078, allocations: 0.7031 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.078, allocations: 1.156 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/1.078, allocations: 80.88 kB / 1.299 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/1.078, allocations: 88.25 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.078, allocations: 2.781 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/1.078, allocations: 3.266 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/1.078, allocations: 2.297 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.078, allocations: 1.031 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.865e-05/1.078, allocations: 82.02 kB / 1.299 GB, free: 11.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.078, allocations: 0 / 1.299 GB, free: 11.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002009/1.078, allocations: 8.781 kB / 1.299 GB, free: 11.55 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.0005001/1.079, allocations: 0.6324 MB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001347/1.079, allocations: 21.61 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.079, allocations: 0 / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/1.079, allocations: 12.97 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/1.079, allocations: 10.34 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/1.08, allocations: 155.3 kB / 1.3 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/1.08, allocations: 0.6744 MB / 1.3 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.793e-05/1.08, allocations: 6.047 kB / 1.3 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/1.08, allocations: 13.81 kB / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.08, allocations: 0 / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/1.098, allocations: 1.365 MB / 1.302 GB, free: 9.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.746, allocations: 18.8 kB / 1.302 GB, free: 9.719 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches