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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 405.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 182.8 kB / 498.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.83 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 11.5 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2881, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/0.5086, allocations: 175.9 MB / 1.395 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5089, allocations: 75.95 kB / 1.395 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003823/0.5127, allocations: 1.66 MB / 1.396 GB, free: 408 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5127, allocations: 0 / 1.396 GB, free: 408 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5128, allocations: 0 / 1.396 GB, free: 408 kB / 0.8855 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.0003232/0.5131, allocations: 334.1 kB / 1.397 GB, free: 28 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5131, allocations: 8.031 kB / 1.397 GB, free: 20 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.5132, allocations: 11.86 kB / 1.397 GB, free: 8 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5133, allocations: 167.1 kB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.5134, allocations: 25.7 kB / 1.397 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.5134, allocations: 4 kB / 1.397 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5136, allocations: 37.69 kB / 1.397 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5136, allocations: 192 / 1.397 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5136, allocations: 3.938 kB / 1.397 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5136, allocations: 3.953 kB / 1.397 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5137, allocations: 11.98 kB / 1.397 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.5139, allocations: 161.7 kB / 1.397 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5141, allocations: 26.58 kB / 1.397 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.5143, allocations: 89.19 kB / 1.397 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5143, allocations: 38.56 kB / 1.397 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/0.5143, allocations: 0 / 1.397 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.000275/0.5146, allocations: 61.61 kB / 1.397 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.5147, allocations: 51.41 kB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.5148, allocations: 93.28 kB / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5148, allocations: 25.7 kB / 1.397 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.5148, allocations: 88.12 kB / 1.398 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.5149, allocations: 15.75 kB / 1.398 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5149, allocations: 0 / 1.398 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.515, allocations: 318.8 kB / 1.398 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.5151, allocations: 8 kB / 1.398 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.5151, allocations: 12.02 kB / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.746e-05/0.5152, allocations: 4 kB / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5152, allocations: 0 / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001302/0.5153, allocations: 57.61 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5153, allocations: 4 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5154, allocations: 0 / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5154, allocations: 0 / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.5155, allocations: 15.94 kB / 1.398 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5155, allocations: 0 / 1.398 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.5155, allocations: 0 / 1.398 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5155, allocations: 3.953 kB / 1.398 GB, free: 14.52 MB / 0.9011 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 0.0001108/0.5157, allocations: 117.8 kB / 1.398 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.5157, allocations: 0 / 1.398 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.5159, allocations: 53.12 kB / 1.398 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5159, allocations: 7.984 kB / 1.398 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5159, allocations: 4 kB / 1.398 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5159, allocations: 0 / 1.398 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.5161, allocations: 157.6 kB / 1.398 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5161, allocations: 4 kB / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.5161, allocations: 4 kB / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5161, allocations: 0 / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5161, allocations: 0 / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5162, allocations: 4 kB / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5162, allocations: 0 / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5163, allocations: 81.06 kB / 1.398 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.5164, allocations: 85.02 kB / 1.398 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5165, allocations: 0 / 1.398 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.5165, allocations: 0 / 1.398 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5166, allocations: 11.92 kB / 1.398 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5166, allocations: 0 / 1.398 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.5166, allocations: 83.28 kB / 1.399 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5166, allocations: 0 / 1.399 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002194/0.5168, allocations: 16 kB / 1.399 GB, free: 13.8 MB / 0.9011 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.0002437/0.5171, allocations: 143.8 kB / 1.399 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.5173, allocations: 19.98 kB / 1.399 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5173, allocations: 0 / 1.399 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.5173, allocations: 12.45 kB / 1.399 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.5175, allocations: 13.33 kB / 1.399 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.5179, allocations: 144.5 kB / 1.399 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5181, allocations: 0.6809 MB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.799e-05/0.5182, allocations: 4 kB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.5182, allocations: 11.44 kB / 1.4 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of SimCode: time 7.22e-07/0.5182, allocations: 0 / 1.4 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of Templates: time 0.003234/0.5215, allocations: 0.9034 MB / 1.4 GB, free: 11.82 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches