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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001582/0.001582, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5752, allocations: 140.4 MB / 0.949 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002083/0.5774, allocations: 1.342 MB / 0.9504 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.7109, allocations: 129.9 MB / 1.077 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.711, allocations: 0 / 1.077 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.711, allocations: 0 / 1.077 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.7111, allocations: 3.938 kB / 1.077 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.7114, allocations: 51.8 kB / 1.077 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.7115, allocations: 15.94 kB / 1.077 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.7115, allocations: 10.83 kB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.7116, allocations: 11.92 kB / 1.077 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.7116, allocations: 11.94 kB / 1.077 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.7116, allocations: 0 / 1.077 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.564e-05/0.7117, allocations: 11.98 kB / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.7117, allocations: 4 kB / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.7118, allocations: 7.938 kB / 1.077 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.7119, allocations: 34.22 kB / 1.077 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7119, allocations: 0 / 1.077 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7119, allocations: 4 kB / 1.077 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.7119, allocations: 0 / 1.077 GB, free: 14.19 MB / 0.8419 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.0003413/0.7122, allocations: 336.1 kB / 1.078 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7123, allocations: 8.031 kB / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.7123, allocations: 30.75 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.7123, allocations: 4.938 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.7124, allocations: 160.4 kB / 1.078 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.7125, allocations: 34.25 kB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.7125, allocations: 4.375 kB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.7126, allocations: 49.88 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.7127, allocations: 4 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.7127, allocations: 0 / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.7127, allocations: 0 / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.7128, allocations: 15.92 kB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.7129, allocations: 157.7 kB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.713, allocations: 30.61 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.7131, allocations: 16.94 kB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.7132, allocations: 85.11 kB / 1.078 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.7132, allocations: 46.42 kB / 1.078 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7132, allocations: 0 / 1.078 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002119/0.7135, allocations: 57.58 kB / 1.078 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.7135, allocations: 59.41 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.7136, allocations: 97.84 kB / 1.078 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.7136, allocations: 25.7 kB / 1.079 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.7136, allocations: 80.14 kB / 1.079 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.7136, allocations: 15.84 kB / 1.079 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.7137, allocations: 13.72 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.7138, allocations: 314.8 kB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.7138, allocations: 12 kB / 1.079 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.7139, allocations: 11.92 kB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.7139, allocations: 20.86 kB / 1.079 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.714, allocations: 4 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.7141, allocations: 49.67 kB / 1.079 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7141, allocations: 7.938 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7141, allocations: 0 / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.7141, allocations: 4 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.7142, allocations: 8 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7142, allocations: 0 / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.7142, allocations: 0 / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.7143, allocations: 4 kB / 1.079 GB, free: 12.2 MB / 0.8419 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.374e-05/0.7143, allocations: 113.8 kB / 1.079 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.7143, allocations: 7.844 kB / 1.079 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.7145, allocations: 61.17 kB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7145, allocations: 0 / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7145, allocations: 4 kB / 1.079 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.7145, allocations: 3.938 kB / 1.079 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.918e-05/0.7146, allocations: 153.7 kB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7146, allocations: 0 / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.7147, allocations: 4 kB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7147, allocations: 7.938 kB / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.7147, allocations: 0 / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7147, allocations: 0 / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.7147, allocations: 0 / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.7148, allocations: 85.05 kB / 1.079 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.7149, allocations: 81.66 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.7149, allocations: 3.938 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.7149, allocations: 4 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.715, allocations: 3.984 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.715, allocations: 0 / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.715, allocations: 83.27 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.715, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000179/0.7152, allocations: 12 kB / 1.08 GB, free: 11.47 MB / 0.8419 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.0004076/0.7156, allocations: 0.6241 MB / 1.08 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.7158, allocations: 19.98 kB / 1.08 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7158, allocations: 0 / 1.08 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.7158, allocations: 12 kB / 1.08 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.7161, allocations: 11.98 kB / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.7164, allocations: 171.1 kB / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.7167, allocations: 0.677 MB / 1.081 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.7167, allocations: 11.95 kB / 1.081 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.7167, allocations: 7.438 kB / 1.081 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.7167, allocations: 0 / 1.081 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.7268, allocations: 1.202 MB / 1.082 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/0.7271, allocations: 222.6 kB / 1.083 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.473, allocations: 2 kB / 1.083 GB, free: 8.504 MB / 0.8419 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