Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008116/0.0008116, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 207 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002113/0.0002114, allocations: 15.92 kB / 307.8 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08146/0.08168, allocations: 51.51 MB / 359.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2826/0.3643, allocations: 150.7 MB / 0.498 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3656, allocations: 0.7144 MB / 0.4987 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3657, allocations: 4 kB / 0.4988 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.3661, allocations: 71.62 kB / 0.4988 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.3666, allocations: 282.3 kB / 0.4991 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.369, allocations: 0.9551 MB / 0.5 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005173/0.3742, allocations: 7.153 MB / 0.507 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3745, allocations: 260.2 kB / 0.5073 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.3773, allocations: 1.905 MB / 0.5091 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.3801, allocations: 1.963 MB / 0.511 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006711/0.3808, allocations: 144 kB / 0.5112 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.384, allocations: 1.721 MB / 0.5128 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.3853, allocations: 1.075 MB / 0.5139 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.3872, allocations: 1.441 MB / 0.5153 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.3913, allocations: 4.406 MB / 0.5196 GB, free: 14.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3913, allocations: 4 kB / 0.5196 GB, free: 14.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3913, allocations: 0 / 0.5196 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.791e-05/0.3914, allocations: 0 / 0.5196 GB, free: 14.68 MB / 446.1 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.006958/0.3983, allocations: 2.891 MB / 0.5224 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3984, allocations: 8.031 kB / 0.5224 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005054/0.3989, allocations: 374 kB / 0.5228 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.4004, allocations: 326.3 kB / 0.5231 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.4026, allocations: 1.331 MB / 0.5244 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.4027, allocations: 176.9 kB / 0.5246 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.4031, allocations: 247.9 kB / 0.5248 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.4082, allocations: 3.815 MB / 0.5285 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.4083, allocations: 4 kB / 0.5285 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.4086, allocations: 116 kB / 0.5287 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.4086, allocations: 60 kB / 0.5287 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1989/0.6076, allocations: 5.978 MB / 0.5346 GB, free: 27.44 MB / 446.1 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.01721/0.6248, allocations: 11.2 MB / 0.5455 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.6308, allocations: 5.041 MB / 0.5504 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.6335, allocations: 2.417 MB / 0.5528 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.6339, allocations: 434.1 kB / 0.5532 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.634, allocations: 94.03 kB / 0.5533 GB, free: 22.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.06e-06/0.634, allocations: 0 / 0.5533 GB, free: 22.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007196/0.6412, allocations: 5.814 MB / 0.559 GB, free: 22.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.6413, allocations: 95.28 kB / 0.559 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.6421, allocations: 0.874 MB / 0.5599 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.6424, allocations: 103.2 kB / 0.56 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.6426, allocations: 0.5155 MB / 0.5605 GB, free: 21.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/0.6433, allocations: 1.301 MB / 0.5618 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.6436, allocations: 289.2 kB / 0.562 GB, free: 20.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.6437, allocations: 362.5 kB / 0.5624 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.6459, allocations: 1.744 MB / 0.5641 GB, free: 20.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.6483, allocations: 2.261 MB / 0.5663 GB, free: 19.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.6531, allocations: 4.328 MB / 0.5705 GB, free: 19.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.6531, allocations: 2.562 kB / 0.5705 GB, free: 19.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005782/0.6589, allocations: 4.586 MB / 0.575 GB, free: 18.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6589, allocations: 7.625 kB / 0.575 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.6589, allocations: 11.44 kB / 0.575 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.659, allocations: 31.75 kB / 0.5751 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.6619, allocations: 0.7908 MB / 0.5758 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.662, allocations: 32.84 kB / 0.5759 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.6642, allocations: 428.8 kB / 0.5763 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.6644, allocations: 141.6 kB / 0.5764 GB, free: 18.17 MB / 446.1 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[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.6655, allocations: 0.7708 MB / 0.5772 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.6658, allocations: 209.1 kB / 0.5774 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/0.6729, allocations: 5.175 MB / 0.5824 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.6729, allocations: 40 kB / 0.5825 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6729, allocations: 3.984 kB / 0.5825 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.673, allocations: 19.92 kB / 0.5825 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.6764, allocations: 2.826 MB / 0.5852 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.6764, allocations: 0 / 0.5852 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/0.6793, allocations: 0.731 MB / 0.5859 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.6793, allocations: 12 kB / 0.586 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.6795, allocations: 93.28 kB / 0.586 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.6795, allocations: 12 kB / 0.5861 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6795, allocations: 4 kB / 0.5861 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007706/0.6872, allocations: 7.227 MB / 0.5931 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.6876, allocations: 349.8 kB / 0.5935 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.6879, allocations: 75.98 kB / 0.5935 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/0.6906, allocations: 308.9 kB / 0.5938 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/0.6911, allocations: 314.9 kB / 0.5941 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/0.6913, allocations: 175.9 kB / 0.5943 GB, free: 4.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005837/0.6919, allocations: 0.6824 MB / 0.595 GB, free: 4.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6919, allocations: 0 / 0.595 GB, free: 4.031 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001749/0.6937, allocations: 1.088 MB / 0.596 GB, free: 2.961 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009718/0.7034, allocations: 8.112 MB / 0.6039 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005963/0.7094, allocations: 4.274 MB / 0.6081 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.7094, allocations: 9.375 kB / 0.6081 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002849/0.7123, allocations: 2.265 MB / 0.6103 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/0.7176, allocations: 1.226 MB / 0.6115 GB, free: 3.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04609/0.7637, allocations: 27.83 MB / 0.6387 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.7653, allocations: 1.849 MB / 0.6405 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004737/0.77, allocations: 1.771 MB / 0.6422 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.7714, allocations: 0.8917 MB / 0.6431 GB, free: 1.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7714, allocations: 0 / 0.6431 GB, free: 1.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.92, allocations: 79 MB / 0.7203 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.9202, allocations: 225.8 kB / 0.7205 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/5.062, allocations: 4 kB / 0.7205 GB, free: 2.535 MB / 0.5606 GB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches