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.001315/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001264/0.001264, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.53/2.53, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7495, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002959/0.7525, allocations: 1.344 MB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.8865, allocations: 130 MB / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.8866, allocations: 4 kB / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.8867, allocations: 0 / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.8868, allocations: 7.766 kB / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.8872, allocations: 47.8 kB / 1.145 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.8873, allocations: 31.66 kB / 1.145 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.8873, allocations: 0 / 1.145 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.8874, allocations: 8 kB / 1.145 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.8874, allocations: 15.92 kB / 1.145 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.8874, allocations: 0 / 1.145 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.8875, allocations: 15.94 kB / 1.145 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.8876, allocations: 7.984 kB / 1.145 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.8876, allocations: 7.938 kB / 1.145 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.8877, allocations: 26.22 kB / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8877, allocations: 0 / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8877, allocations: 0 / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8877, allocations: 0 / 1.145 GB, free: 14.59 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.0003927/0.8881, allocations: 335.4 kB / 1.146 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.8882, allocations: 12.03 kB / 1.146 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.8882, allocations: 30.75 kB / 1.146 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.8883, allocations: 4.938 kB / 1.146 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.8884, allocations: 168.4 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.8884, allocations: 26.27 kB / 1.146 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.8885, allocations: 12.36 kB / 1.146 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.8886, allocations: 41.94 kB / 1.146 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8886, allocations: 0 / 1.146 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.8886, allocations: 3.938 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8886, allocations: 4 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.8887, allocations: 15.98 kB / 1.146 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.8889, allocations: 161.6 kB / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.889, allocations: 30.58 kB / 1.146 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.889, allocations: 12.94 kB / 1.146 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.8892, allocations: 89.09 kB / 1.146 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.8892, allocations: 38.5 kB / 1.146 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8893, allocations: 0 / 1.146 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002235/0.8895, allocations: 65.61 kB / 1.146 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.8895, allocations: 51.41 kB / 1.146 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.8896, allocations: 93.86 kB / 1.147 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.8896, allocations: 29.64 kB / 1.147 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.8897, allocations: 80.14 kB / 1.147 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.8897, allocations: 15.83 kB / 1.147 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.8897, allocations: 17.72 kB / 1.147 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.8898, allocations: 314.8 kB / 1.147 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.8899, allocations: 4 kB / 1.147 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.8899, allocations: 11.98 kB / 1.147 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.89, allocations: 24.78 kB / 1.147 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.89, allocations: 0 / 1.147 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.8902, allocations: 49.69 kB / 1.147 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8902, allocations: 11.94 kB / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8902, allocations: 0 / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8902, allocations: 0.5156 kB / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.8903, allocations: 7.984 kB / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8903, allocations: 4 kB / 1.147 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.8903, allocations: 0 / 1.147 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.8903, allocations: 0 / 1.147 GB, free: 12.6 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.142e-05/0.8904, allocations: 114.4 kB / 1.147 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.8904, allocations: 7.844 kB / 1.147 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.8906, allocations: 65.09 kB / 1.147 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8906, allocations: 0 / 1.147 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8906, allocations: 4 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8906, allocations: 3.938 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.8907, allocations: 153.7 kB / 1.147 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8907, allocations: 0 / 1.147 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.8908, allocations: 4 kB / 1.147 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.8908, allocations: 3.938 kB / 1.147 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.8908, allocations: 0 / 1.147 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8908, allocations: 4 kB / 1.147 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8908, allocations: 0 / 1.147 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.891, allocations: 81.05 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.891, allocations: 85.05 kB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.8911, allocations: 3.984 kB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.8911, allocations: 0 / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.8911, allocations: 8 kB / 1.148 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8911, allocations: 4 kB / 1.148 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.8912, allocations: 79.28 kB / 1.148 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8912, allocations: 4 kB / 1.148 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001853/0.8914, allocations: 8 kB / 1.148 GB, free: 11.88 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.0004292/0.8918, allocations: 0.6279 MB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.892, allocations: 27.86 kB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.892, allocations: 0 / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.892, allocations: 15.98 kB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.8923, allocations: 4 kB / 1.148 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.8927, allocations: 173.3 kB / 1.149 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.8929, allocations: 0.6729 MB / 1.149 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.8929, allocations: 4 kB / 1.149 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.893, allocations: 15.42 kB / 1.149 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.893, allocations: 0 / 1.149 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2745/1.168, allocations: 1.243 MB / 1.15 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/1.168, allocations: 219.8 kB / 1.151 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.854, allocations: 4 kB / 1.151 GB, free: 8.887 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