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.004618/0.004618, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001067/0.001067, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.176/2.176, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8714/0.8726, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002012/0.8747, allocations: 1.277 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1543/1.029, allocations: 132 MB / 1.218 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/1.029, allocations: 0 / 1.218 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/1.029, allocations: 3.938 kB / 1.218 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/1.029, allocations: 9.109 kB / 1.218 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/1.03, allocations: 61.66 kB / 1.218 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/1.03, allocations: 22.3 kB / 1.218 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/1.03, allocations: 1.406 kB / 1.218 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/1.03, allocations: 9.531 kB / 1.218 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/1.03, allocations: 7.609 kB / 1.218 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/1.03, allocations: 1.094 kB / 1.218 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/1.03, allocations: 15.09 kB / 1.218 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/1.03, allocations: 5.109 kB / 1.218 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/1.03, allocations: 15.5 kB / 1.218 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/1.03, allocations: 31.53 kB / 1.218 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.03, allocations: 0 / 1.218 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/1.03, allocations: 0 / 1.218 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.03, allocations: 1.469 kB / 1.218 GB, free: 2.238 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.0003795/1.031, allocations: 330.1 kB / 1.218 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.031, allocations: 9.875 kB / 1.218 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/1.031, allocations: 35.75 kB / 1.218 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/1.031, allocations: 7.094 kB / 1.218 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/1.031, allocations: 173.6 kB / 1.218 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/1.031, allocations: 28.27 kB / 1.218 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/1.031, allocations: 1.438 kB / 1.218 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/1.031, allocations: 48.62 kB / 1.218 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/1.031, allocations: 0 / 1.218 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/1.031, allocations: 0 / 1.218 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.031, allocations: 1.094 kB / 1.218 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/1.031, allocations: 11.77 kB / 1.218 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/1.031, allocations: 157.3 kB / 1.219 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/1.031, allocations: 27.3 kB / 1.219 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/1.031, allocations: 18.44 kB / 1.219 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/1.032, allocations: 88.84 kB / 1.219 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.032, allocations: 39.62 kB / 1.219 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.032, allocations: 4 kB / 1.219 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000221/1.032, allocations: 56.36 kB / 1.219 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.032, allocations: 51.41 kB / 1.219 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/1.032, allocations: 98.48 kB / 1.219 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.032, allocations: 29.64 kB / 1.219 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/1.032, allocations: 80.14 kB / 1.219 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.032, allocations: 9.312 kB / 1.219 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/1.032, allocations: 24.89 kB / 1.219 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.032, allocations: 319.9 kB / 1.219 GB, free: 480 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/1.032, allocations: 4.531 kB / 1.219 GB, free: 480 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/1.032, allocations: 12.05 kB / 1.219 GB, free: 472 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.499e-05/1.032, allocations: 26.78 kB / 1.219 GB, free: 452 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.032, allocations: 0 / 1.219 GB, free: 452 kB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/1.033, allocations: 48.58 kB / 1.219 GB, free: 412 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/1.033, allocations: 8.781 kB / 1.219 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.033, allocations: 5.219 kB / 1.219 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/1.033, allocations: 0 / 1.219 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/1.033, allocations: 4.906 kB / 1.219 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.033, allocations: 5.016 kB / 1.22 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/1.033, allocations: 0.9375 kB / 1.22 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/1.033, allocations: 1.094 kB / 1.22 GB, free: 400 kB / 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.648e-05/1.033, allocations: 108.1 kB / 1.22 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/1.033, allocations: 9.062 kB / 1.22 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/1.033, allocations: 66.88 kB / 1.22 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.033, allocations: 0 / 1.22 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.033, allocations: 5.375 kB / 1.22 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.033, allocations: 0 / 1.22 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/1.033, allocations: 153.4 kB / 1.22 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.033, allocations: 0 / 1.22 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/1.033, allocations: 4.656 kB / 1.22 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.033, allocations: 4.969 kB / 1.22 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.033, allocations: 1.25 kB / 1.22 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.033, allocations: 0 / 1.22 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.033, allocations: 4 kB / 1.22 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/1.033, allocations: 76.2 kB / 1.22 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/1.033, allocations: 86.42 kB / 1.22 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/1.033, allocations: 1.25 kB / 1.22 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/1.033, allocations: 9.234 kB / 1.22 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/1.033, allocations: 2.5 kB / 1.22 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/1.034, allocations: 0 / 1.22 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.922e-05/1.034, allocations: 81.94 kB / 1.22 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 0 / 1.22 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001907/1.034, allocations: 9.125 kB / 1.22 GB, free: 15.73 MB / 0.9669 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.0004189/1.034, allocations: 0.6351 MB / 1.221 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001367/1.034, allocations: 28.7 kB / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.034, allocations: 0 / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/1.034, allocations: 10.83 kB / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.035, allocations: 11.03 kB / 1.221 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/1.035, allocations: 157.5 kB / 1.221 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/1.035, allocations: 0.6738 MB / 1.222 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.216e-05/1.035, allocations: 5.219 kB / 1.222 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/1.035, allocations: 9.844 kB / 1.222 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/1.035, allocations: 0 / 1.222 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/1.053, allocations: 1.37 MB / 1.223 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/8.265, allocations: 5.328 kB / 1.223 GB, free: 13.45 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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