Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.004822/0.004822, allocations: 102.5 kB / 15.73 MB, free: 5.992 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.001123/0.001123, allocations: 190.4 kB / 16.67 MB, free: 5.914 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 96 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.88 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2466, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002237/0.2488, allocations: 1.278 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.3833, allocations: 132 MB / 1.218 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3833, allocations: 0 / 1.218 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.3834, allocations: 3.938 kB / 1.218 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.3834, allocations: 3.938 kB / 1.218 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3838, allocations: 55.72 kB / 1.218 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.3839, allocations: 19.92 kB / 1.218 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3839, allocations: 4 kB / 1.218 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.384, allocations: 15.92 kB / 1.218 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.384, allocations: 11.94 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.384, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3841, allocations: 15.98 kB / 1.218 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.3841, allocations: 0 / 1.218 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3842, allocations: 11.94 kB / 1.218 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.3843, allocations: 22.78 kB / 1.218 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3843, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3843, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3843, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9825 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.0003667/0.3847, allocations: 340.3 kB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3847, allocations: 12.03 kB / 1.218 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.3848, allocations: 38.62 kB / 1.218 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3848, allocations: 8.844 kB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.3849, allocations: 164.4 kB / 1.218 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.385, allocations: 26.27 kB / 1.218 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.385, allocations: 12.36 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3851, allocations: 41.94 kB / 1.218 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3851, allocations: 0 / 1.218 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3852, allocations: 11.98 kB / 1.218 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3852, allocations: 0 / 1.218 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.3853, allocations: 8 kB / 1.218 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.3854, allocations: 153.7 kB / 1.219 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.703e-05/0.3855, allocations: 34.61 kB / 1.219 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.3856, allocations: 12.86 kB / 1.219 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.3857, allocations: 101.1 kB / 1.219 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3858, allocations: 34.5 kB / 1.219 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3858, allocations: 0 / 1.219 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002237/0.386, allocations: 57.67 kB / 1.219 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.386, allocations: 51.41 kB / 1.219 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.3861, allocations: 101.8 kB / 1.219 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3861, allocations: 25.7 kB / 1.219 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.3861, allocations: 84.14 kB / 1.219 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3862, allocations: 3.906 kB / 1.219 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3862, allocations: 21.62 kB / 1.219 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.3863, allocations: 310.8 kB / 1.219 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.3864, allocations: 7.984 kB / 1.219 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.3864, allocations: 11.94 kB / 1.219 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.3865, allocations: 24.84 kB / 1.219 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3865, allocations: 0 / 1.219 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001254/0.3866, allocations: 49.69 kB / 1.219 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3867, allocations: 7.938 kB / 1.219 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3867, allocations: 3.984 kB / 1.219 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3867, allocations: 0.5156 kB / 1.219 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.3867, allocations: 4 kB / 1.22 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3868, allocations: 4 kB / 1.22 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.3868, allocations: 0 / 1.22 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3868, allocations: 4 kB / 1.22 GB, free: 9.992 MB / 0.9825 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.14e-05/0.3869, allocations: 121.7 kB / 1.22 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3869, allocations: 3.938 kB / 1.22 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.3871, allocations: 57.16 kB / 1.22 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3871, allocations: 0 / 1.22 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3871, allocations: 4 kB / 1.22 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3871, allocations: 0 / 1.22 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.97e-05/0.3872, allocations: 161.5 kB / 1.22 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3872, allocations: 0 / 1.22 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3873, allocations: 11.98 kB / 1.22 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3873, allocations: 3.938 kB / 1.22 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.3873, allocations: 0 / 1.22 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3873, allocations: 0 / 1.22 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3873, allocations: 0 / 1.22 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3874, allocations: 77.06 kB / 1.22 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3875, allocations: 92.94 kB / 1.22 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3875, allocations: 4 kB / 1.22 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.3875, allocations: 4 kB / 1.22 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3876, allocations: 8 kB / 1.22 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3876, allocations: 0 / 1.22 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.3876, allocations: 79.27 kB / 1.22 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3876, allocations: 4 kB / 1.22 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001932/0.3878, allocations: 12 kB / 1.22 GB, free: 9.254 MB / 0.9825 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.0004051/0.3882, allocations: 0.6241 MB / 1.221 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3884, allocations: 23.97 kB / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3884, allocations: 0 / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.3885, allocations: 8 kB / 1.221 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3887, allocations: 7.984 kB / 1.221 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3891, allocations: 165.4 kB / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3893, allocations: 0.6768 MB / 1.222 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.3893, allocations: 0 / 1.222 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3893, allocations: 15.44 kB / 1.222 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3893, allocations: 0 / 1.222 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.4055, allocations: 1.363 MB / 1.223 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.657, allocations: 10.8 kB / 1.223 GB, free: 6.383 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches