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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007364/0.0007363, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005094/0.005094, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5956, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001262/0.5969, allocations: 1.007 MB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.7242, allocations: 128.5 MB / 1.15 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.7243, allocations: 3.938 kB / 1.15 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.7243, allocations: 0 / 1.15 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.7244, allocations: 7.922 kB / 1.15 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.7247, allocations: 51.8 kB / 1.15 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.7248, allocations: 19.92 kB / 1.15 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.7248, allocations: 4 kB / 1.15 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.7249, allocations: 8 kB / 1.15 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.725, allocations: 15.92 kB / 1.15 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.725, allocations: 0 / 1.15 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.7251, allocations: 15.94 kB / 1.15 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.7251, allocations: 3.984 kB / 1.15 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.7251, allocations: 41.62 kB / 1.15 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.7252, allocations: 22.23 kB / 1.15 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7253, allocations: 0 / 1.15 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7253, allocations: 0 / 1.15 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.7253, allocations: 0 / 1.15 GB, free: 13.68 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.0003501/0.7256, allocations: 331.5 kB / 1.15 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7257, allocations: 12.03 kB / 1.15 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.7257, allocations: 34.75 kB / 1.15 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.7258, allocations: 0.9375 kB / 1.15 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.7259, allocations: 168.4 kB / 1.15 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.726, allocations: 30.2 kB / 1.15 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.726, allocations: 4.375 kB / 1.15 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.7261, allocations: 49.92 kB / 1.15 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.7261, allocations: 0 / 1.15 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.7261, allocations: 4 kB / 1.15 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7261, allocations: 0 / 1.15 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.7262, allocations: 11.98 kB / 1.15 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.7264, allocations: 153.7 kB / 1.151 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.7265, allocations: 26.58 kB / 1.151 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.7265, allocations: 20.94 kB / 1.151 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.7267, allocations: 93.09 kB / 1.151 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.7267, allocations: 38.44 kB / 1.151 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.7268, allocations: 0 / 1.151 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002326/0.727, allocations: 57.59 kB / 1.151 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.727, allocations: 55.39 kB / 1.151 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.7271, allocations: 97.86 kB / 1.151 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.7271, allocations: 29.7 kB / 1.151 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.7272, allocations: 80.14 kB / 1.151 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.7272, allocations: 7.844 kB / 1.151 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.7272, allocations: 9.719 kB / 1.151 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.7273, allocations: 322.8 kB / 1.151 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.7274, allocations: 7.938 kB / 1.151 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.7274, allocations: 7.984 kB / 1.151 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.7275, allocations: 24.8 kB / 1.151 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7275, allocations: 4 kB / 1.151 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/0.7276, allocations: 49.67 kB / 1.151 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7277, allocations: 7.938 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7277, allocations: 0 / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7277, allocations: 4 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.7278, allocations: 4 kB / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.7278, allocations: 0 / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.7278, allocations: 0 / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.7278, allocations: 4 kB / 1.151 GB, free: 11.7 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 6.673e-05/0.7279, allocations: 118.4 kB / 1.152 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.7279, allocations: 8.359 kB / 1.152 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.7281, allocations: 69.09 kB / 1.152 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.7281, allocations: 3.938 kB / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7281, allocations: 0 / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7281, allocations: 0 / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.7282, allocations: 157.7 kB / 1.152 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7282, allocations: 0 / 1.152 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.7283, allocations: 8 kB / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.7283, allocations: 7.938 kB / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.7283, allocations: 0 / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7283, allocations: 0 / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7283, allocations: 0 / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.7285, allocations: 81.05 kB / 1.152 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.7285, allocations: 81.05 kB / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.7285, allocations: 0 / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.7286, allocations: 8 kB / 1.152 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.7286, allocations: 3.984 kB / 1.152 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.7286, allocations: 0 / 1.152 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.7287, allocations: 83.28 kB / 1.152 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7287, allocations: 0 / 1.152 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001904/0.7289, allocations: 8 kB / 1.152 GB, free: 10.97 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.0004287/0.7293, allocations: 0.6319 MB / 1.153 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.7294, allocations: 15.98 kB / 1.153 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7294, allocations: 0 / 1.153 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.7295, allocations: 12 kB / 1.153 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.7297, allocations: 11.92 kB / 1.153 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.7301, allocations: 185.9 kB / 1.153 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.7303, allocations: 0.6731 MB / 1.154 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.355e-05/0.7304, allocations: 7.984 kB / 1.154 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.7304, allocations: 15.44 kB / 1.154 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.7304, allocations: 0 / 1.154 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.7405, allocations: 1.154 MB / 1.155 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.7407, allocations: 220.6 kB / 1.155 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.419, allocations: 2.344 kB / 1.155 GB, free: 8.062 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