Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.00116, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.001121/0.001121, allocations: 92.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.811e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.258, allocations: 158.8 MB / 1.047 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.258, allocations: 74.77 kB / 1.047 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.007948/1.266, allocations: 2.168 MB / 1.049 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.014e-06/1.266, allocations: 3.938 kB / 1.049 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.266, allocations: 0 / 1.049 GB, free: 6.02 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005843/1.267, allocations: 370.2 kB / 1.049 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.267, allocations: 12.03 kB / 1.049 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/1.267, allocations: 7.859 kB / 1.049 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.267, allocations: 167 kB / 1.05 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.267, allocations: 0 / 1.05 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/1.267, allocations: 7.688 kB / 1.05 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/1.267, allocations: 52.88 kB / 1.05 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.267, allocations: 0 / 1.05 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.267, allocations: 0 / 1.05 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.267, allocations: 0 / 1.05 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/1.268, allocations: 27.7 kB / 1.05 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/1.268, allocations: 283.2 kB / 1.05 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/1.268, allocations: 40.81 kB / 1.05 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/1.268, allocations: 20.78 kB / 1.05 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/1.268, allocations: 91.92 kB / 1.05 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.268, allocations: 34.52 kB / 1.05 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/1.268, allocations: 0 / 1.05 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002378/1.269, allocations: 56.8 kB / 1.05 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.269, allocations: 51.41 kB / 1.05 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.269, allocations: 116.2 kB / 1.05 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.269, allocations: 25.7 kB / 1.05 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/1.269, allocations: 91.83 kB / 1.05 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/1.269, allocations: 10.77 kB / 1.05 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.269, allocations: 0 / 1.05 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.269, allocations: 318.8 kB / 1.051 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/1.269, allocations: 7.625 kB / 1.051 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/1.269, allocations: 4 kB / 1.051 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/1.269, allocations: 15.94 kB / 1.051 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.269, allocations: 0 / 1.051 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001519/1.27, allocations: 60.53 kB / 1.051 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.27, allocations: 5.562 kB / 1.051 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.27, allocations: 0 / 1.051 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.27, allocations: 3.953 kB / 1.051 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/1.27, allocations: 23.97 kB / 1.051 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.27, allocations: 3.984 kB / 1.051 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.27, allocations: 19.98 kB / 1.051 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/1.27, allocations: 7.875 kB / 1.051 GB, free: 3.984 MB / 0.6667 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 () * 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 7.784e-05/1.27, allocations: 108.9 kB / 1.051 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/1.27, allocations: 0 / 1.051 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/1.27, allocations: 65.11 kB / 1.051 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.27, allocations: 7.891 kB / 1.051 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.27, allocations: 0 / 1.051 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/1.27, allocations: 4 kB / 1.051 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/1.271, allocations: 175.6 kB / 1.051 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.271, allocations: 0 / 1.051 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.271, allocations: 19.98 kB / 1.051 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.271, allocations: 0 / 1.051 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.271, allocations: 0 / 1.051 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.271, allocations: 4 kB / 1.051 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.271, allocations: 3.953 kB / 1.051 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/1.271, allocations: 149.8 kB / 1.051 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/1.271, allocations: 85.02 kB / 1.051 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/1.271, allocations: 3.984 kB / 1.051 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.271, allocations: 15.98 kB / 1.051 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/1.271, allocations: 288 / 1.051 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.271, allocations: 11.95 kB / 1.051 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.005e-05/1.272, allocations: 100.8 kB / 1.052 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.01e-07/1.272, allocations: 0 / 1.052 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003881/1.272, allocations: 15.94 kB / 1.052 GB, free: 3.172 MB / 0.6667 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 () * 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.000264/1.272, allocations: 143.8 kB / 1.052 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001378/1.272, allocations: 18.75 kB / 1.052 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.272, allocations: 0 / 1.052 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/1.272, allocations: 15.38 kB / 1.052 GB, free: 3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/1.273, allocations: 15.8 kB / 1.052 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/1.273, allocations: 76.48 kB / 1.052 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.273, allocations: 0.6887 MB / 1.053 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 5.157e-05/1.274, allocations: 256 / 1.053 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/1.274, allocations: 11.44 kB / 1.053 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of SimCode: time 3.4e-07/1.274, allocations: 4 kB / 1.053 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of Templates: time 0.005749/1.279, allocations: 1.363 MB / 1.054 GB, free: 0.8242 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches