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.001151/0.001151, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.311/1.311, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007732/0.0007732, allocations: 82.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002774, allocations: 8 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2021, allocations: 47.56 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3041/0.5062, allocations: 138.9 MB / 0.5019 GB, free: 1.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.5076, allocations: 0.9118 MB / 0.5028 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.5077, allocations: 0 / 0.5028 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.5081, allocations: 69.34 kB / 0.5029 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.5086, allocations: 276.6 kB / 0.5031 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.5119, allocations: 1.091 MB / 0.5042 GB, free: 1.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.5168, allocations: 5.987 MB / 0.51 GB, free: 1.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.5172, allocations: 263 kB / 0.5103 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.5214, allocations: 1.91 MB / 0.5122 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.5257, allocations: 2.044 MB / 0.5142 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007737/0.5265, allocations: 145.7 kB / 0.5143 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005114/0.5316, allocations: 1.808 MB / 0.5161 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.5332, allocations: 1.092 MB / 0.5171 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.5363, allocations: 1.398 MB / 0.5185 GB, free: 1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00574/0.542, allocations: 3.475 MB / 0.5219 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5421, allocations: 128 / 0.5219 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5421, allocations: 64 / 0.5219 GB, free: 0 / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001687/0.5422, allocations: 0 / 0.5219 GB, free: 0 / 378.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.00851/0.5508, allocations: 2.906 MB / 0.5247 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5508, allocations: 10.91 kB / 0.5247 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.5529, allocations: 330.5 kB / 0.5251 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.5556, allocations: 1.328 MB / 0.5263 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.5558, allocations: 185.8 kB / 0.5265 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.5562, allocations: 237.8 kB / 0.5268 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.5626, allocations: 3.798 MB / 0.5305 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.5626, allocations: 5.75 kB / 0.5305 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.563, allocations: 114.2 kB / 0.5306 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.5631, allocations: 57.19 kB / 0.5306 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008345/0.5714, allocations: 5.971 MB / 0.5365 GB, free: 11.08 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.02023/0.5917, allocations: 11.19 MB / 0.5474 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006807/0.5985, allocations: 5.014 MB / 0.5523 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/0.6021, allocations: 2.393 MB / 0.5546 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.6028, allocations: 435.1 kB / 0.555 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.663e-05/0.6029, allocations: 96.5 kB / 0.5551 GB, free: 11.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 5.54e-06/0.6029, allocations: 0 / 0.5551 GB, free: 11.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.009716/0.6126, allocations: 5.779 MB / 0.5608 GB, free: 7.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.6127, allocations: 94.47 kB / 0.5609 GB, free: 7.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.6139, allocations: 0.8685 MB / 0.5617 GB, free: 6.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004508/0.6144, allocations: 105.3 kB / 0.5618 GB, free: 6.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.6147, allocations: 0.5214 MB / 0.5623 GB, free: 5.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.6159, allocations: 1.305 MB / 0.5636 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.6161, allocations: 67.31 kB / 0.5637 GB, free: 4.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.6163, allocations: 0.499 MB / 0.5641 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.619, allocations: 1.727 MB / 0.5658 GB, free: 3.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.622, allocations: 2.246 MB / 0.568 GB, free: 1.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005971/0.628, allocations: 4.319 MB / 0.5722 GB, free: 13.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.628, allocations: 4 kB / 0.5722 GB, free: 13.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006935/0.6349, allocations: 4.561 MB / 0.5767 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.635, allocations: 8 kB / 0.5767 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.635, allocations: 15.94 kB / 0.5767 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/0.6351, allocations: 28.75 kB / 0.5768 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/0.6385, allocations: 0.7887 MB / 0.5775 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.293e-05/0.6386, allocations: 41.08 kB / 0.5776 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.6411, allocations: 425.6 kB / 0.578 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.6414, allocations: 143.6 kB / 0.5781 GB, free: 9.102 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.001338/0.6427, allocations: 0.7524 MB / 0.5788 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/0.6432, allocations: 213.8 kB / 0.579 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008414/0.6516, allocations: 5.155 MB / 0.5841 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/0.6517, allocations: 40 kB / 0.5841 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6517, allocations: 7.938 kB / 0.5841 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/0.6518, allocations: 19.92 kB / 0.5841 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.6565, allocations: 2.822 MB / 0.5869 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.6565, allocations: 4 kB / 0.5869 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003363/0.6599, allocations: 0.7267 MB / 0.5876 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.434e-05/0.6599, allocations: 17.75 kB / 0.5876 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.6602, allocations: 94.33 kB / 0.5877 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/0.6602, allocations: 12 kB / 0.5877 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6602, allocations: 3.938 kB / 0.5877 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.6709, allocations: 7.191 MB / 0.5948 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.6717, allocations: 356.7 kB / 0.5951 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.6722, allocations: 70.69 kB / 0.5952 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/0.6753, allocations: 304.2 kB / 0.5955 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/0.676, allocations: 318 kB / 0.5958 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005681/0.6766, allocations: 173.1 kB / 0.5959 GB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009805/0.6776, allocations: 0.6771 MB / 0.5966 GB, free: 10.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6776, allocations: 0 / 0.5966 GB, free: 10.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003022/0.6806, allocations: 1.086 MB / 0.5976 GB, free: 9.711 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.001478/0.6821, allocations: 466.1 kB / 0.5981 GB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007043/0.6892, allocations: 4.254 MB / 0.6022 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.6892, allocations: 8.938 kB / 0.6023 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/0.6928, allocations: 2.25 MB / 0.6044 GB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006242/0.699, allocations: 1.233 MB / 0.6057 GB, free: 3.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.7128, allocations: 7.877 MB / 0.6133 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.7143, allocations: 1.858 MB / 0.6152 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/0.7165, allocations: 327.2 kB / 0.6155 GB, free: 9.953 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7165, allocations: 0 / 0.6155 GB, free: 9.953 MB / 458.7 MB Notification: Performance of Templates: time 0.0655/0.782, allocations: 46.5 MB / 0.6609 GB, free: 11.48 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