Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.conf.json 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) Running command: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 180.9 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007668, allocations: 86.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 11.98 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.001/7.213, allocations: 3.623 GB / 3.99 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/7.213, allocations: 74.88 kB / 3.99 GB, free: 105.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2351/7.448, allocations: 104.4 MB / 4.092 GB, free: 0.793 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/7.448, allocations: 0 / 4.092 GB, free: 0.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.021e-05/7.448, allocations: 51.98 kB / 4.092 GB, free: 0.7422 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.2102/7.658, allocations: 2.773 MB / 4.094 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/7.658, allocations: 7.406 kB / 4.094 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/7.661, allocations: 319.6 kB / 4.095 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/7.664, allocations: 1.345 MB / 4.096 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/7.665, allocations: 179.5 kB / 4.096 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/7.665, allocations: 247.8 kB / 4.096 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006031/7.671, allocations: 3.761 MB / 4.1 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/7.671, allocations: 2.688 kB / 4.1 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/7.672, allocations: 119.1 kB / 4.1 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/7.672, allocations: 56.59 kB / 4.1 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008743/7.68, allocations: 5.9 MB / 4.106 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/7.704, allocations: 10.62 MB / 4.116 GB, free: 96.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/7.712, allocations: 5.021 MB / 4.121 GB, free: 96.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/7.716, allocations: 2.395 MB / 4.124 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/7.716, allocations: 442.7 kB / 4.124 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/7.717, allocations: 91.47 kB / 4.124 GB, free: 95.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 8.596e-06/7.717, allocations: 1.938 kB / 4.124 GB, free: 95.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01123/7.728, allocations: 5.789 MB / 4.13 GB, free: 95.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/7.728, allocations: 97.95 kB / 4.13 GB, free: 95.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/7.729, allocations: 0.8588 MB / 4.131 GB, free: 95.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007823/7.73, allocations: 107.8 kB / 4.131 GB, free: 94.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/7.73, allocations: 0.5176 MB / 4.131 GB, free: 94.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/7.732, allocations: 1.304 MB / 4.133 GB, free: 93.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/7.733, allocations: 75.22 kB / 4.133 GB, free: 93.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004291/7.733, allocations: 0.4907 MB / 4.133 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/7.736, allocations: 1.732 MB / 4.135 GB, free: 92.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/7.739, allocations: 2.247 MB / 4.137 GB, free: 91.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006115/7.745, allocations: 4.322 MB / 4.141 GB, free: 90.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/7.745, allocations: 3.969 kB / 4.141 GB, free: 90.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008036/7.754, allocations: 4.562 MB / 4.146 GB, free: 88.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/7.754, allocations: 11.25 kB / 4.146 GB, free: 88.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/7.754, allocations: 13.25 kB / 4.146 GB, free: 88.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-05/7.754, allocations: 31.45 kB / 4.146 GB, free: 88.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/7.757, allocations: 0.7938 MB / 4.147 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.542e-05/7.757, allocations: 33.11 kB / 4.147 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/7.761, allocations: 432 kB / 4.147 GB, free: 88.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/7.761, allocations: 146 kB / 4.147 GB, free: 88.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.002024/7.763, allocations: 0.7539 MB / 4.148 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/7.764, allocations: 220.3 kB / 4.148 GB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009599/7.774, allocations: 5.152 MB / 4.153 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/7.774, allocations: 42.5 kB / 4.153 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/7.774, allocations: 0 / 4.153 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.565e-05/7.774, allocations: 20.02 kB / 4.153 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/7.779, allocations: 2.826 MB / 4.156 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/7.78, allocations: 0 / 4.156 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/7.783, allocations: 0.7318 MB / 4.157 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/7.783, allocations: 11.47 kB / 4.157 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006297/7.784, allocations: 90.84 kB / 4.157 GB, free: 85.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-05/7.784, allocations: 14.31 kB / 4.157 GB, free: 85.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/7.784, allocations: 0 / 4.157 GB, free: 85.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/7.796, allocations: 7.188 MB / 4.164 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/7.796, allocations: 363.1 kB / 4.164 GB, free: 80.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006922/7.797, allocations: 79.08 kB / 4.164 GB, free: 80.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/7.801, allocations: 286.5 kB / 4.164 GB, free: 79.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/7.802, allocations: 310.2 kB / 4.165 GB, free: 79.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007444/7.802, allocations: 182.9 kB / 4.165 GB, free: 79.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009177/7.803, allocations: 0.675 MB / 4.166 GB, free: 79.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/7.803, allocations: 0 / 4.166 GB, free: 79.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003705/7.807, allocations: 1.136 MB / 4.167 GB, free: 77.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.002448/7.809, allocations: 0.8767 MB / 4.168 GB, free: 77.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007283/7.817, allocations: 4.259 MB / 4.172 GB, free: 73.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/7.817, allocations: 5 kB / 4.172 GB, free: 73.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/7.821, allocations: 2.249 MB / 4.174 GB, free: 72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007179/7.828, allocations: 1.236 MB / 4.175 GB, free: 71.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/7.841, allocations: 7.882 MB / 4.183 GB, free: 64.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/7.843, allocations: 1.858 MB / 4.185 GB, free: 63.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/7.845, allocations: 326.7 kB / 4.185 GB, free: 63.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/7.845, allocations: 8 kB / 4.185 GB, free: 63.11 MB / 426.7 MB Notification: Performance of Templates: time 0.06296/7.908, allocations: 48.96 MB / 4.233 GB, free: 17.43 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches