Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009178/0.0009179, allocations: 192.6 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 226.5 MB / 244.7 MB, free: 8.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007079/0.0007079, allocations: 103.4 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002055, allocations: 8 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1799, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2818/0.4618, allocations: 137.8 MB / 0.5331 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.4626, allocations: 0.6737 MB / 0.5338 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.4627, allocations: 3.938 kB / 0.5338 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.463, allocations: 72.56 kB / 0.5339 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.4635, allocations: 280.2 kB / 0.5341 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4657, allocations: 0.924 MB / 0.535 GB, free: 13.15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.4697, allocations: 5.986 MB / 0.5409 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.47, allocations: 270.2 kB / 0.5411 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.4721, allocations: 1.913 MB / 0.543 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.4744, allocations: 2.044 MB / 0.545 GB, free: 10.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.4748, allocations: 145.2 kB / 0.5451 GB, free: 10.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.4775, allocations: 1.683 MB / 0.5468 GB, free: 10 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008731/0.4784, allocations: 1.09 MB / 0.5479 GB, free: 9.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4799, allocations: 1.403 MB / 0.5492 GB, free: 9.043 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.4825, allocations: 3.296 MB / 0.5524 GB, free: 7.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4825, allocations: 1.859 kB / 0.5524 GB, free: 7.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4825, allocations: 1.594 kB / 0.5524 GB, free: 7.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.4825, allocations: 0 / 0.5524 GB, free: 7.5 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.00721/0.4897, allocations: 2.885 MB / 0.5553 GB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4898, allocations: 12.66 kB / 0.5553 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005614/0.4904, allocations: 377.1 kB / 0.5556 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4919, allocations: 330.4 kB / 0.556 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.4941, allocations: 1.32 MB / 0.5572 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.4943, allocations: 183.7 kB / 0.5574 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.4946, allocations: 246.6 kB / 0.5577 GB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.4997, allocations: 3.797 MB / 0.5614 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.4998, allocations: 0 / 0.5614 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.5001, allocations: 114.5 kB / 0.5615 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.5002, allocations: 60 kB / 0.5615 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007194/0.5074, allocations: 5.966 MB / 0.5674 GB, free: 14.99 MB / 410.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.01626/0.5236, allocations: 11.2 MB / 0.5783 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.5294, allocations: 5.009 MB / 0.5832 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/0.5322, allocations: 2.394 MB / 0.5855 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/0.5327, allocations: 439.8 kB / 0.5859 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.5328, allocations: 97.06 kB / 0.586 GB, free: 14.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.49e-06/0.5328, allocations: 0 / 0.586 GB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.007816/0.5406, allocations: 5.782 MB / 0.5917 GB, free: 10.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5407, allocations: 90.47 kB / 0.5918 GB, free: 10.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008521/0.5415, allocations: 0.8709 MB / 0.5926 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.5418, allocations: 98.2 kB / 0.5927 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.542, allocations: 0.5163 MB / 0.5932 GB, free: 9.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008071/0.5429, allocations: 1.313 MB / 0.5945 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.5431, allocations: 67.5 kB / 0.5946 GB, free: 8.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5433, allocations: 0.4951 MB / 0.595 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.5456, allocations: 1.732 MB / 0.5967 GB, free: 6.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.5482, allocations: 2.254 MB / 0.5989 GB, free: 4.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005338/0.5535, allocations: 4.311 MB / 0.6031 GB, free: 1.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.5536, allocations: 9.688 kB / 0.6032 GB, free: 1.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006138/0.5597, allocations: 4.548 MB / 0.6076 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5597, allocations: 11.94 kB / 0.6076 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.5598, allocations: 15.98 kB / 0.6076 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/0.5598, allocations: 31.94 kB / 0.6077 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.5631, allocations: 0.7942 MB / 0.6084 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-05/0.5631, allocations: 35.92 kB / 0.6085 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.5653, allocations: 423.9 kB / 0.6089 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.5656, allocations: 144.9 kB / 0.609 GB, free: 12.21 MB / 442.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.001087/0.5667, allocations: 0.758 MB / 0.6097 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.5671, allocations: 205.8 kB / 0.6099 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/0.5747, allocations: 5.154 MB / 0.615 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.5747, allocations: 43.94 kB / 0.615 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5747, allocations: 0 / 0.615 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/0.5748, allocations: 23.92 kB / 0.615 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.5786, allocations: 2.817 MB / 0.6178 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5787, allocations: 0 / 0.6178 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/0.5818, allocations: 0.7332 MB / 0.6185 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.5818, allocations: 17.84 kB / 0.6185 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.582, allocations: 95.08 kB / 0.6186 GB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-05/0.582, allocations: 19.94 kB / 0.6186 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.582, allocations: 0 / 0.6186 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008874/0.5909, allocations: 7.183 MB / 0.6257 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.5914, allocations: 352.5 kB / 0.626 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.5917, allocations: 74.92 kB / 0.6261 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/0.5944, allocations: 299.7 kB / 0.6263 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006979/0.5951, allocations: 314 kB / 0.6266 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/0.5954, allocations: 177.5 kB / 0.6268 GB, free: 14.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006942/0.5961, allocations: 0.6788 MB / 0.6275 GB, free: 13.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5961, allocations: 0 / 0.6275 GB, free: 13.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00201/0.5981, allocations: 1.091 MB / 0.6285 GB, free: 12.73 MB / 458.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.009897/0.608, allocations: 8.08 MB / 0.6364 GB, free: 6.523 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005674/0.6137, allocations: 4.258 MB / 0.6406 GB, free: 3.172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6137, allocations: 5 kB / 0.6406 GB, free: 3.168 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.6165, allocations: 2.248 MB / 0.6428 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/0.6217, allocations: 1.23 MB / 0.644 GB, free: 436 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/0.6493, allocations: 18.64 MB / 0.6622 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.6505, allocations: 1.844 MB / 0.664 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.6524, allocations: 0.9132 MB / 0.6649 GB, free: 11.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6524, allocations: 0 / 0.6649 GB, free: 11.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.586/8.238, allocations: 44.19 MB / 0.708 GB, free: 211 MB / 0.4948 GB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches