Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001114, allocations: 179.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 102.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 16.75 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.3973, allocations: 158.3 MB / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3976, allocations: 75.95 kB / 1.055 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3968/0.7944, allocations: 1.621 MB / 1.056 GB, free: 158.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7944, allocations: 3.938 kB / 1.056 GB, free: 158.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.7945, allocations: 0 / 1.056 GB, free: 158.1 MB / 0.698 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.0003182/0.7948, allocations: 328.1 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7948, allocations: 12.25 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.7949, allocations: 7.406 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.7949, allocations: 168.3 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.795, allocations: 28.3 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.795, allocations: 3.594 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.7951, allocations: 35.92 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.7951, allocations: 1.594 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.7952, allocations: 1.719 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.7952, allocations: 0 / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.7952, allocations: 12.28 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.7954, allocations: 162.8 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.7955, allocations: 33.91 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.7956, allocations: 88.03 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.7956, allocations: 34.84 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.7956, allocations: 0 / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.7958, allocations: 65.38 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.7959, allocations: 56.89 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.7959, allocations: 91.12 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.7959, allocations: 25.7 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.796, allocations: 85.36 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.796, allocations: 10.27 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.796, allocations: 0 / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.796, allocations: 310.8 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.7961, allocations: 8.703 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.7961, allocations: 10.45 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.7962, allocations: 9.578 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7962, allocations: 3.953 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.943e-05/0.7963, allocations: 46.2 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7963, allocations: 6.719 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7963, allocations: 4.438 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7963, allocations: 0 / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.7964, allocations: 8.031 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7964, allocations: 2 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.7964, allocations: 6.375 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.7964, allocations: 1.984 kB / 1.058 GB, free: 156.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.7965, allocations: 112.1 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.7965, allocations: 7.984 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.7967, allocations: 53.12 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7967, allocations: 3.109 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7967, allocations: 9.391 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7967, allocations: 0.9062 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.7968, allocations: 155.7 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7968, allocations: 0 / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.7968, allocations: 19.64 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7968, allocations: 0 / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7968, allocations: 0.6875 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7968, allocations: 0 / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7968, allocations: 4.641 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.797, allocations: 72.97 kB / 1.058 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.797, allocations: 83.84 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.797, allocations: 5.078 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.7971, allocations: 5.906 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.7971, allocations: 3.953 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.7971, allocations: 0.8125 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.731e-05/0.7971, allocations: 80.33 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7971, allocations: 0 / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001843/0.7973, allocations: 12.41 kB / 1.059 GB, free: 155.9 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.7975, allocations: 144 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.7976, allocations: 22.88 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7976, allocations: 0 / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.7977, allocations: 11.84 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.7978, allocations: 6.812 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.798, allocations: 144.8 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.403e-05/0.7981, allocations: 0.6848 MB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.7982, allocations: 5.25 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.7982, allocations: 10.09 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7982, allocations: 0 / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of Templates: time 0.002516/0.8007, allocations: 0.9045 MB / 1.06 GB, free: 154.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches