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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 152 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.001106/0.001106, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.541/2.541, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.88 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5646, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002537/0.5672, allocations: 1.266 MB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.7071, allocations: 132 MB / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.7071, allocations: 3.938 kB / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.7072, allocations: 4 kB / 1.148 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.7073, allocations: 11.91 kB / 1.148 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.7077, allocations: 67.61 kB / 1.148 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.7077, allocations: 15.94 kB / 1.148 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.7078, allocations: 7.984 kB / 1.148 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.7078, allocations: 4 kB / 1.148 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.7079, allocations: 11.94 kB / 1.148 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.7079, allocations: 4 kB / 1.148 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.708, allocations: 11.92 kB / 1.148 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.7081, allocations: 11.98 kB / 1.148 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.7081, allocations: 11.92 kB / 1.148 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.7082, allocations: 22.23 kB / 1.148 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7082, allocations: 4 kB / 1.148 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7082, allocations: 0 / 1.148 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.7083, allocations: 0 / 1.148 GB, free: 12.46 MB / 0.9044 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.0004044/0.7087, allocations: 335.4 kB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7087, allocations: 8.031 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.7088, allocations: 30.75 kB / 1.148 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.7088, allocations: 4.938 kB / 1.148 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7089, allocations: 160.4 kB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.709, allocations: 38.25 kB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.709, allocations: 4.312 kB / 1.148 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.7091, allocations: 49.98 kB / 1.148 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7092, allocations: 3.938 kB / 1.148 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.7092, allocations: 0 / 1.148 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.7092, allocations: 0 / 1.148 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.7093, allocations: 11.98 kB / 1.148 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.7094, allocations: 157.6 kB / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.7096, allocations: 30.61 kB / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.7096, allocations: 16.94 kB / 1.149 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.7098, allocations: 89.11 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.7098, allocations: 38.48 kB / 1.149 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7098, allocations: 0 / 1.149 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.7101, allocations: 57.62 kB / 1.149 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7101, allocations: 55.41 kB / 1.149 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.7102, allocations: 97.84 kB / 1.149 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.7102, allocations: 25.7 kB / 1.149 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.7103, allocations: 84.14 kB / 1.149 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7103, allocations: 11.84 kB / 1.149 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.7103, allocations: 13.72 kB / 1.149 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7104, allocations: 314.8 kB / 1.149 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.7105, allocations: 12 kB / 1.149 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.7106, allocations: 7.984 kB / 1.149 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.7107, allocations: 28.8 kB / 1.149 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7107, allocations: 3.938 kB / 1.149 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001304/0.7108, allocations: 49.67 kB / 1.149 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7108, allocations: 11.94 kB / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7108, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7109, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.7109, allocations: 8 kB / 1.149 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7109, allocations: 0 / 1.149 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.711, allocations: 4 kB / 1.149 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.711, allocations: 0 / 1.149 GB, free: 10.48 MB / 0.9044 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.216e-05/0.7111, allocations: 110.5 kB / 1.15 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.7111, allocations: 11.84 kB / 1.15 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.7113, allocations: 65.61 kB / 1.15 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7113, allocations: 48 / 1.15 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7113, allocations: 11.92 kB / 1.15 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7113, allocations: 0 / 1.15 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.7114, allocations: 157.7 kB / 1.15 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7114, allocations: 0 / 1.15 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.7115, allocations: 8 kB / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7115, allocations: 3.938 kB / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.7115, allocations: 0 / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7115, allocations: 0 / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7115, allocations: 0 / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.7117, allocations: 85.05 kB / 1.15 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.7117, allocations: 81.05 kB / 1.15 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.7117, allocations: 4 kB / 1.15 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.7118, allocations: 0 / 1.15 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.7118, allocations: 3.984 kB / 1.15 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7118, allocations: 0 / 1.15 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.7119, allocations: 79.28 kB / 1.15 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7119, allocations: 0 / 1.15 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000212/0.7121, allocations: 16 kB / 1.15 GB, free: 9.746 MB / 0.9044 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.0004651/0.7126, allocations: 0.6256 MB / 1.151 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.7127, allocations: 23.92 kB / 1.151 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7127, allocations: 8 kB / 1.151 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.7128, allocations: 8 kB / 1.151 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.713, allocations: 9.359 kB / 1.151 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.7134, allocations: 163.8 kB / 1.151 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7137, allocations: 0.6806 MB / 1.152 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.7137, allocations: 8 kB / 1.152 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.7138, allocations: 7.438 kB / 1.152 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7138, allocations: 0 / 1.152 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.7541, allocations: 1.336 MB / 1.153 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/10.41, allocations: 13.8 kB / 1.153 GB, free: 6.875 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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