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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 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.001927/0.001928, allocations: 198 kB / 16.54 MB, free: 6.672 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.75 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2712, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00227/0.2735, allocations: 1.266 MB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1252/0.3988, allocations: 132 MB / 1.194 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.3988, allocations: 4 kB / 1.194 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.3989, allocations: 3.938 kB / 1.194 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.399, allocations: 11.91 kB / 1.194 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.3993, allocations: 51.73 kB / 1.194 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.3994, allocations: 27.86 kB / 1.194 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3994, allocations: 0 / 1.194 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.3995, allocations: 11.94 kB / 1.194 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.3996, allocations: 11.98 kB / 1.194 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3996, allocations: 4 kB / 1.194 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.3997, allocations: 8 kB / 1.194 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.3997, allocations: 4 kB / 1.194 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.3997, allocations: 15.91 kB / 1.194 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.3998, allocations: 32.14 kB / 1.194 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3998, allocations: 0 / 1.194 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3998, allocations: 3.938 kB / 1.194 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3998, allocations: 0 / 1.194 GB, free: 8.52 MB / 0.9512 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.0003609/0.4002, allocations: 331.6 kB / 1.194 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4003, allocations: 8.031 kB / 1.194 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.4003, allocations: 34.75 kB / 1.194 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.4003, allocations: 4.844 kB / 1.194 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.4004, allocations: 168.3 kB / 1.195 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.4005, allocations: 34.2 kB / 1.195 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.4005, allocations: 4.375 kB / 1.195 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4006, allocations: 42 kB / 1.195 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4007, allocations: 8 kB / 1.195 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.4007, allocations: 0 / 1.195 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4007, allocations: 0 / 1.195 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.4008, allocations: 15.98 kB / 1.195 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.4009, allocations: 153.7 kB / 1.195 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.803e-05/0.401, allocations: 30.52 kB / 1.195 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.4011, allocations: 16.94 kB / 1.195 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.4012, allocations: 93.09 kB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4013, allocations: 34.5 kB / 1.195 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4013, allocations: 0 / 1.195 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002207/0.4015, allocations: 53.69 kB / 1.195 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.4015, allocations: 59.39 kB / 1.195 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.4016, allocations: 89.86 kB / 1.195 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4016, allocations: 33.7 kB / 1.195 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.4017, allocations: 80.14 kB / 1.195 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.4017, allocations: 7.906 kB / 1.195 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4017, allocations: 25.55 kB / 1.195 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.4018, allocations: 314.8 kB / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.4019, allocations: 8 kB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.4019, allocations: 7.984 kB / 1.196 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.402, allocations: 29.31 kB / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.402, allocations: 0 / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001232/0.4021, allocations: 49.67 kB / 1.196 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4022, allocations: 11.94 kB / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4022, allocations: 0 / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4022, allocations: 0 / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.4023, allocations: 7.938 kB / 1.196 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4023, allocations: 0 / 1.196 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.4023, allocations: 7.984 kB / 1.196 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4023, allocations: 4 kB / 1.196 GB, free: 6.527 MB / 0.9512 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.329e-05/0.4024, allocations: 109.8 kB / 1.196 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.4024, allocations: 7.938 kB / 1.196 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.4026, allocations: 57.11 kB / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4026, allocations: 0 / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4026, allocations: 0 / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4026, allocations: 0 / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.255e-05/0.4027, allocations: 153.7 kB / 1.196 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4027, allocations: 4 kB / 1.196 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.4028, allocations: 8 kB / 1.196 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4028, allocations: 3.938 kB / 1.196 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.4028, allocations: 3.938 kB / 1.196 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4028, allocations: 0 / 1.196 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4028, allocations: 0 / 1.196 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.4029, allocations: 77.11 kB / 1.196 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.403, allocations: 88.89 kB / 1.196 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.403, allocations: 8 kB / 1.196 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.403, allocations: 7.984 kB / 1.196 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.4031, allocations: 0 / 1.196 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4031, allocations: 4 kB / 1.196 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.4031, allocations: 75.28 kB / 1.196 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.4031, allocations: 0 / 1.196 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001916/0.4033, allocations: 12 kB / 1.196 GB, free: 5.816 MB / 0.9512 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.0004103/0.4037, allocations: 0.6362 MB / 1.197 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.4039, allocations: 15.98 kB / 1.197 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4039, allocations: 0 / 1.197 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.4039, allocations: 20.34 kB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4042, allocations: 4 kB / 1.197 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.4045, allocations: 153.5 kB / 1.197 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.4047, allocations: 0.6768 MB / 1.198 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.4048, allocations: 8 kB / 1.198 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4048, allocations: 11.44 kB / 1.198 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.4048, allocations: 0 / 1.198 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.4217, allocations: 1.361 MB / 1.199 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.773, allocations: 4.062 kB / 1.199 GB, free: 2.953 MB / 0.9512 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