Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.009787/0.009788, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001945/0.001945, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7421 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7642, allocations: 159.1 MB / 1.22 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002387/0.7667, allocations: 1.272 MB / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.9034, allocations: 132 MB / 1.35 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.9035, allocations: 0 / 1.35 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.9035, allocations: 0 / 1.35 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.9036, allocations: 7.922 kB / 1.35 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.904, allocations: 55.72 kB / 1.35 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.9041, allocations: 27.81 kB / 1.35 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.9041, allocations: 0 / 1.35 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.9042, allocations: 11.98 kB / 1.35 GB, free: 12.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.9042, allocations: 7.938 kB / 1.35 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.9042, allocations: 4 kB / 1.35 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.9043, allocations: 15.98 kB / 1.35 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.9043, allocations: 0 / 1.35 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.9044, allocations: 15.92 kB / 1.35 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.9045, allocations: 19.78 kB / 1.35 GB, free: 12.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9045, allocations: 3.984 kB / 1.35 GB, free: 12.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.228e-06/0.9045, allocations: 0 / 1.35 GB, free: 12.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.9045, allocations: 7.938 kB / 1.35 GB, free: 12.24 MB / 1.076 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.0003748/0.9049, allocations: 329.9 kB / 1.35 GB, free: 11.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9049, allocations: 20.56 kB / 1.35 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.905, allocations: 34.75 kB / 1.35 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.905, allocations: 8.891 kB / 1.35 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.9051, allocations: 160.4 kB / 1.351 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.9052, allocations: 26.27 kB / 1.351 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.9052, allocations: 4.375 kB / 1.351 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9053, allocations: 45.98 kB / 1.351 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.9054, allocations: 0 / 1.351 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.9054, allocations: 0 / 1.351 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9054, allocations: 8 kB / 1.351 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.9055, allocations: 11.98 kB / 1.351 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.9056, allocations: 153.6 kB / 1.351 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.9057, allocations: 34.61 kB / 1.351 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.9058, allocations: 12.86 kB / 1.351 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.906, allocations: 93.19 kB / 1.351 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.906, allocations: 34.5 kB / 1.351 GB, free: 11.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.906, allocations: 0 / 1.351 GB, free: 11.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002441/0.9063, allocations: 61.61 kB / 1.351 GB, free: 11.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.9063, allocations: 51.41 kB / 1.351 GB, free: 10.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.9064, allocations: 101.8 kB / 1.351 GB, free: 10.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.9064, allocations: 25.7 kB / 1.351 GB, free: 10.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.9064, allocations: 84.14 kB / 1.351 GB, free: 10.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.9065, allocations: 11.84 kB / 1.351 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.9065, allocations: 17.72 kB / 1.351 GB, free: 10.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9066, allocations: 310.8 kB / 1.352 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.9067, allocations: 11.98 kB / 1.352 GB, free: 10.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.9067, allocations: 8 kB / 1.352 GB, free: 10.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.9068, allocations: 20.84 kB / 1.352 GB, free: 10.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9068, allocations: 7.938 kB / 1.352 GB, free: 10.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/0.907, allocations: 53.62 kB / 1.352 GB, free: 10.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.907, allocations: 11.92 kB / 1.352 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.907, allocations: 0 / 1.352 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.907, allocations: 0 / 1.352 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.9071, allocations: 11.94 kB / 1.352 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.9071, allocations: 0 / 1.352 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.9072, allocations: 0 / 1.352 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.9072, allocations: 0 / 1.352 GB, free: 10.26 MB / 1.076 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.169e-05/0.9073, allocations: 114.4 kB / 1.352 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.9073, allocations: 7.922 kB / 1.352 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.9074, allocations: 57.12 kB / 1.352 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.9075, allocations: 4 kB / 1.352 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9075, allocations: 0 / 1.352 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9075, allocations: 4.547 kB / 1.352 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.9076, allocations: 153.7 kB / 1.352 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9076, allocations: 0 / 1.352 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.9077, allocations: 11.98 kB / 1.352 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9077, allocations: 7.938 kB / 1.352 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.9077, allocations: 0 / 1.352 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9077, allocations: 4 kB / 1.352 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9077, allocations: 0 / 1.352 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.9079, allocations: 73.06 kB / 1.352 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.9079, allocations: 89.03 kB / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.908, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.908, allocations: 8 kB / 1.352 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.908, allocations: 11.92 kB / 1.352 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.908, allocations: 0 / 1.352 GB, free: 9.617 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.9081, allocations: 79.28 kB / 1.352 GB, free: 9.539 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9081, allocations: 0 / 1.352 GB, free: 9.539 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002004/0.9083, allocations: 8 kB / 1.352 GB, free: 9.531 MB / 1.076 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.0005084/0.9088, allocations: 0.6341 MB / 1.353 GB, free: 8.867 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.909, allocations: 23.92 kB / 1.353 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.909, allocations: 0 / 1.353 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.909, allocations: 8 kB / 1.353 GB, free: 8.836 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.9093, allocations: 16.33 kB / 1.353 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.9097, allocations: 153.3 kB / 1.353 GB, free: 8.633 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.91, allocations: 0.6806 MB / 1.354 GB, free: 7.926 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.9101, allocations: 7.938 kB / 1.354 GB, free: 7.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.9101, allocations: 7.438 kB / 1.354 GB, free: 7.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.9101, allocations: 4 kB / 1.354 GB, free: 7.906 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.9275, allocations: 1.376 MB / 1.355 GB, free: 6.664 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.704, allocations: 6.625 kB / 1.355 GB, free: 6.66 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches