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.0009305/0.0009306, allocations: 179.2 kB / 16.41 MB, free: 5.727 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.243/1.243, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007343/0.0007341, allocations: 93.02 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 47.57 MB / 374.5 MB, free: 45.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.334/0.5314, allocations: 138.9 MB / 0.5014 GB, free: 1.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.533, allocations: 0.9116 MB / 0.5023 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.5332, allocations: 4 kB / 0.5023 GB, free: 1.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.5335, allocations: 54.88 kB / 0.5023 GB, free: 1.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007037/0.5342, allocations: 278 kB / 0.5026 GB, free: 1.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.5374, allocations: 1.015 MB / 0.5036 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.5422, allocations: 5.992 MB / 0.5094 GB, free: 1.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.5426, allocations: 262.3 kB / 0.5097 GB, free: 1.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.5465, allocations: 1.917 MB / 0.5116 GB, free: 1.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.5507, allocations: 2.051 MB / 0.5136 GB, free: 1.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.5519, allocations: 142.5 kB / 0.5137 GB, free: 1.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/0.5567, allocations: 1.552 MB / 0.5152 GB, free: 1.098 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.5581, allocations: 1.088 MB / 0.5163 GB, free: 1.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.5593, allocations: 0.4989 MB / 0.5168 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.563, allocations: 3.303 MB / 0.52 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5631, allocations: 10.53 kB / 0.52 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5631, allocations: 0 / 0.52 GB, free: 15.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.826e-05/0.5631, allocations: 0 / 0.52 GB, free: 15.99 MB / 394.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.008156/0.5713, allocations: 2.918 MB / 0.5229 GB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5713, allocations: 7.875 kB / 0.5229 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.5731, allocations: 326.9 kB / 0.5232 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.5755, allocations: 1.319 MB / 0.5245 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/0.5756, allocations: 181.7 kB / 0.5246 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.576, allocations: 246.7 kB / 0.5249 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.5817, allocations: 3.797 MB / 0.5286 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.5818, allocations: 0 / 0.5286 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.5821, allocations: 117.6 kB / 0.5287 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.5822, allocations: 60.53 kB / 0.5287 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007861/0.59, allocations: 5.968 MB / 0.5346 GB, free: 11.09 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.6088, allocations: 11.19 MB / 0.5455 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006446/0.6152, allocations: 5.02 MB / 0.5504 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.6184, allocations: 2.397 MB / 0.5527 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.619, allocations: 434.7 kB / 0.5532 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/0.6191, allocations: 93.5 kB / 0.5532 GB, free: 12.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 5.19e-06/0.6191, allocations: 0 / 0.5532 GB, free: 12.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.00884/0.6279, allocations: 5.781 MB / 0.5589 GB, free: 7.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.628, allocations: 94.47 kB / 0.559 GB, free: 7.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.629, allocations: 0.8664 MB / 0.5598 GB, free: 6.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.6294, allocations: 105.9 kB / 0.5599 GB, free: 6.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6297, allocations: 0.5153 MB / 0.5604 GB, free: 6.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.6307, allocations: 1.304 MB / 0.5617 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.6309, allocations: 68.56 kB / 0.5618 GB, free: 5.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002983/0.6312, allocations: 0.5038 MB / 0.5623 GB, free: 4.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.6338, allocations: 1.732 MB / 0.564 GB, free: 3.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.6367, allocations: 2.244 MB / 0.5661 GB, free: 1.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.6397, allocations: 2.101 MB / 0.5682 GB, free: 60 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6398, allocations: 4 kB / 0.5682 GB, free: 56 kB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006819/0.6466, allocations: 4.554 MB / 0.5726 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6466, allocations: 15.66 kB / 0.5727 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.6467, allocations: 12 kB / 0.5727 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/0.6467, allocations: 31.98 kB / 0.5727 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/0.6503, allocations: 0.7879 MB / 0.5735 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.287e-05/0.6504, allocations: 37.05 kB / 0.5735 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.653, allocations: 424.5 kB / 0.5739 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.6533, allocations: 148 kB / 0.5741 GB, free: 11.33 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.001311/0.6546, allocations: 0.764 MB / 0.5748 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.6551, allocations: 205.8 kB / 0.575 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008133/0.6633, allocations: 5.171 MB / 0.58 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.6633, allocations: 48 kB / 0.5801 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6633, allocations: 0 / 0.5801 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/0.6634, allocations: 24.3 kB / 0.5801 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.6679, allocations: 2.823 MB / 0.5829 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.6679, allocations: 1.75 kB / 0.5829 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/0.6714, allocations: 0.7259 MB / 0.5836 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.6714, allocations: 19.94 kB / 0.5836 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/0.6716, allocations: 90.02 kB / 0.5837 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-05/0.6717, allocations: 16 kB / 0.5837 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6717, allocations: 4 kB / 0.5837 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009902/0.6816, allocations: 7.18 MB / 0.5907 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.6823, allocations: 358.1 kB / 0.5911 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.6826, allocations: 81.61 kB / 0.5911 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/0.6855, allocations: 296 kB / 0.5914 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005001/0.686, allocations: 309.7 kB / 0.5917 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/0.6864, allocations: 189 kB / 0.5919 GB, free: 13.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000799/0.6872, allocations: 0.6762 MB / 0.5926 GB, free: 12.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6872, allocations: 0 / 0.5926 GB, free: 12.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002318/0.6895, allocations: 1.086 MB / 0.5936 GB, free: 11.92 MB / 442.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.001079/0.6906, allocations: 460.1 kB / 0.5941 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00637/0.697, allocations: 4.253 MB / 0.5982 GB, free: 8.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.697, allocations: 5 kB / 0.5982 GB, free: 8.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003099/0.7001, allocations: 2.255 MB / 0.6004 GB, free: 6.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/0.7058, allocations: 1.253 MB / 0.6016 GB, free: 5.633 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.7184, allocations: 7.882 MB / 0.6093 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.7197, allocations: 1.846 MB / 0.6111 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/0.7214, allocations: 329.6 kB / 0.6115 GB, free: 12.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/0.7214, allocations: 0 / 0.6115 GB, free: 12.22 MB / 458.7 MB Notification: Performance of Templates: time 0.06772/0.7891, allocations: 46.54 MB / 0.6569 GB, free: 13.77 MB / 0.4948 GB 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/jenkins/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