Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 108 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 43.02 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09221, allocations: 49.45 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2835/0.3758, allocations: 151.8 MB / 0.4902 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3769, allocations: 0.7055 MB / 0.4909 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.3769, allocations: 0 / 0.4909 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.3773, allocations: 81.5 kB / 0.491 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.3778, allocations: 298.5 kB / 0.4913 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.3802, allocations: 1.112 MB / 0.4924 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003847/0.384, allocations: 5.597 MB / 0.4978 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.3843, allocations: 259.5 kB / 0.4981 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.3862, allocations: 2.167 MB / 0.5002 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.3882, allocations: 1.967 MB / 0.5021 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005103/0.3888, allocations: 236 kB / 0.5023 GB, free: 388 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.3914, allocations: 1.691 MB / 0.504 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.3925, allocations: 1.231 MB / 0.5052 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.3941, allocations: 1.561 MB / 0.5067 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003681/0.3978, allocations: 4.5 MB / 0.5111 GB, free: 7.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3978, allocations: 0 / 0.5111 GB, free: 7.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3978, allocations: 0 / 0.5111 GB, free: 7.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.3979, allocations: 0 / 0.5111 GB, free: 7.379 MB / 430.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.007579/0.4054, allocations: 3.488 MB / 0.5145 GB, free: 3.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4055, allocations: 12.03 kB / 0.5145 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004426/0.4059, allocations: 378 kB / 0.5149 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4075, allocations: 322.3 kB / 0.5152 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4096, allocations: 1.327 MB / 0.5165 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4097, allocations: 184.9 kB / 0.5167 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.4101, allocations: 247.9 kB / 0.5169 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005216/0.4153, allocations: 3.819 MB / 0.5206 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.4154, allocations: 0 / 0.5206 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.4157, allocations: 112 kB / 0.5207 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.4157, allocations: 60 kB / 0.5208 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007384/0.4231, allocations: 5.982 MB / 0.5266 GB, free: 7.285 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.1373/0.5605, allocations: 11.23 MB / 0.5376 GB, free: 161.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005886/0.5664, allocations: 5.038 MB / 0.5425 GB, free: 159.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.5692, allocations: 2.404 MB / 0.5449 GB, free: 158.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.5696, allocations: 441.4 kB / 0.5453 GB, free: 158.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.5696, allocations: 94.19 kB / 0.5454 GB, free: 158.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 4.859e-06/0.5696, allocations: 0 / 0.5454 GB, free: 158.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007453/0.5771, allocations: 5.82 MB / 0.5511 GB, free: 156.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5771, allocations: 92.5 kB / 0.5511 GB, free: 156.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.5778, allocations: 0.8671 MB / 0.552 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.5781, allocations: 104.8 kB / 0.5521 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.5782, allocations: 0.5153 MB / 0.5526 GB, free: 155.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.5788, allocations: 1.31 MB / 0.5539 GB, free: 154.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.5795, allocations: 0.6194 MB / 0.5545 GB, free: 153.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.5795, allocations: 364.9 kB / 0.5548 GB, free: 153.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.5815, allocations: 1.745 MB / 0.5565 GB, free: 152.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.5837, allocations: 2.257 MB / 0.5587 GB, free: 151.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.5881, allocations: 4.328 MB / 0.563 GB, free: 147.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.5881, allocations: 4 kB / 0.563 GB, free: 147.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005249/0.5934, allocations: 4.587 MB / 0.5674 GB, free: 143 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5934, allocations: 15.98 kB / 0.5675 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5934, allocations: 10.44 kB / 0.5675 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.5934, allocations: 30.06 kB / 0.5675 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.5964, allocations: 0.7905 MB / 0.5683 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.5965, allocations: 38.27 kB / 0.5683 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.5982, allocations: 366.3 kB / 0.5687 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.5985, allocations: 147.9 kB / 0.5688 GB, free: 141.6 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.0008142/0.5993, allocations: 0.7558 MB / 0.5695 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.5997, allocations: 205.8 kB / 0.5697 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/0.6063, allocations: 5.175 MB / 0.5748 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6063, allocations: 40 kB / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6063, allocations: 0 / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.6063, allocations: 27.86 kB / 0.5749 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.6092, allocations: 2.817 MB / 0.5776 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6092, allocations: 1.188 kB / 0.5776 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/0.6121, allocations: 0.7294 MB / 0.5783 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6121, allocations: 16 kB / 0.5783 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.6123, allocations: 91.95 kB / 0.5784 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.6123, allocations: 16 kB / 0.5784 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6123, allocations: 0 / 0.5784 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007404/0.6197, allocations: 7.222 MB / 0.5855 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.6199, allocations: 318 kB / 0.5858 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.6202, allocations: 88.83 kB / 0.5859 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/0.6226, allocations: 227.4 kB / 0.5861 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/0.6231, allocations: 306.9 kB / 0.5864 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/0.6233, allocations: 187.8 kB / 0.5866 GB, free: 123.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005399/0.6239, allocations: 0.6785 MB / 0.5872 GB, free: 122.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6239, allocations: 0 / 0.5872 GB, free: 122.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001539/0.6254, allocations: 1.088 MB / 0.5883 GB, free: 121.6 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.008247/0.6337, allocations: 8.104 MB / 0.5962 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01942/0.6531, allocations: 15.28 MB / 0.6111 GB, free: 98.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.6531, allocations: 9.125 kB / 0.6111 GB, free: 98.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.6553, allocations: 2.267 MB / 0.6133 GB, free: 95.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/0.6596, allocations: 1.256 MB / 0.6146 GB, free: 94.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.6848, allocations: 26.59 MB / 0.6405 GB, free: 66.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.6856, allocations: 1.845 MB / 0.6423 GB, free: 64.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00393/0.6896, allocations: 1.752 MB / 0.6441 GB, free: 62.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/0.6907, allocations: 0.8898 MB / 0.6449 GB, free: 62.02 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6907, allocations: 0 / 0.6449 GB, free: 62.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.408/2.099, allocations: 82.49 MB / 0.7255 GB, free: 142.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/13.32, allocations: 8.516 kB / 0.7255 GB, free: 142.4 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches