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.001348/0.001348, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001286/0.001286, allocations: 190 kB / 17.55 MB, free: 5.934 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.257/1.257, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009436/0.0009437, allocations: 46.72 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08121, allocations: 49.45 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2835/0.3648, allocations: 149.7 MB / 499.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.3658, allocations: 0.7043 MB / 0.4884 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.3659, allocations: 3.938 kB / 0.4884 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3662, allocations: 75.62 kB / 0.4885 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.3667, allocations: 276 kB / 0.4887 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.3689, allocations: 1.02 MB / 0.4897 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.3729, allocations: 5.601 MB / 0.4952 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.3731, allocations: 263 kB / 0.4954 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3751, allocations: 2.256 MB / 0.4976 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.377, allocations: 2.08 MB / 0.4997 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.3774, allocations: 236 kB / 0.4999 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.3796, allocations: 1.743 MB / 0.5016 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.3806, allocations: 1.224 MB / 0.5028 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.382, allocations: 1.568 MB / 0.5043 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.3854, allocations: 4.523 MB / 0.5087 GB, free: 9.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3854, allocations: 0 / 0.5087 GB, free: 9.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3854, allocations: 3.938 kB / 0.5088 GB, free: 9.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.3855, allocations: 0 / 0.5088 GB, free: 9.676 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.007596/0.3931, allocations: 3.484 MB / 0.5122 GB, free: 6.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3931, allocations: 12.03 kB / 0.5122 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.3936, allocations: 370 kB / 0.5125 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.3951, allocations: 334.3 kB / 0.5128 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3971, allocations: 1.331 MB / 0.5141 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3972, allocations: 184.9 kB / 0.5143 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.3976, allocations: 235.9 kB / 0.5145 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005188/0.4028, allocations: 3.823 MB / 0.5183 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.4028, allocations: 0 / 0.5183 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.4031, allocations: 108 kB / 0.5184 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.4032, allocations: 60 kB / 0.5184 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007322/0.4105, allocations: 5.99 MB / 0.5243 GB, free: 9.586 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.133/0.5435, allocations: 11.17 MB / 0.5352 GB, free: 160.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005654/0.5492, allocations: 5.043 MB / 0.5401 GB, free: 158.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/0.552, allocations: 2.406 MB / 0.5425 GB, free: 158.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004032/0.5524, allocations: 442.1 kB / 0.5429 GB, free: 157.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.5525, allocations: 93.88 kB / 0.543 GB, free: 157.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 8.195e-06/0.5525, allocations: 0 / 0.543 GB, free: 157.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.00751/0.56, allocations: 5.814 MB / 0.5487 GB, free: 156.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.5601, allocations: 98.81 kB / 0.5487 GB, free: 156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.5608, allocations: 0.869 MB / 0.5496 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.5611, allocations: 101.4 kB / 0.5497 GB, free: 155.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5613, allocations: 0.5251 MB / 0.5502 GB, free: 155.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005235/0.5618, allocations: 1.299 MB / 0.5515 GB, free: 154.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006671/0.5625, allocations: 0.6312 MB / 0.5521 GB, free: 153.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.5625, allocations: 358.2 kB / 0.5524 GB, free: 153.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.5644, allocations: 1.741 MB / 0.5541 GB, free: 152.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.5666, allocations: 2.262 MB / 0.5563 GB, free: 151.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.5708, allocations: 4.326 MB / 0.5606 GB, free: 149.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5708, allocations: 4.281 kB / 0.5606 GB, free: 149.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005025/0.5758, allocations: 4.587 MB / 0.565 GB, free: 145.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5758, allocations: 11.94 kB / 0.5651 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5759, allocations: 12 kB / 0.5651 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.5759, allocations: 28 kB / 0.5651 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.5789, allocations: 0.7892 MB / 0.5659 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.5789, allocations: 34.89 kB / 0.5659 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.5809, allocations: 427.5 kB / 0.5663 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.5811, allocations: 143.9 kB / 0.5664 GB, free: 143.9 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.0007956/0.5819, allocations: 0.7579 MB / 0.5672 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.5823, allocations: 213.8 kB / 0.5674 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/0.5887, allocations: 5.177 MB / 0.5724 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.5887, allocations: 40 kB / 0.5725 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5888, allocations: 0 / 0.5725 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.5888, allocations: 19.92 kB / 0.5725 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.5918, allocations: 2.814 MB / 0.5753 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.5918, allocations: 0 / 0.5753 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/0.5947, allocations: 0.7299 MB / 0.576 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.5947, allocations: 21.06 kB / 0.576 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.5949, allocations: 91.95 kB / 0.5761 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.5949, allocations: 23.44 kB / 0.5761 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5949, allocations: 0 / 0.5761 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/0.6021, allocations: 7.215 MB / 0.5831 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.6024, allocations: 325.9 kB / 0.5835 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.6027, allocations: 83.84 kB / 0.5835 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/0.6051, allocations: 295.5 kB / 0.5838 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/0.6056, allocations: 314.9 kB / 0.5841 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/0.6059, allocations: 175.9 kB / 0.5843 GB, free: 125.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.6064, allocations: 0.6902 MB / 0.585 GB, free: 124.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6064, allocations: 4 kB / 0.585 GB, free: 124.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001488/0.6079, allocations: 1.08 MB / 0.586 GB, free: 123.9 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.008044/0.6159, allocations: 8.104 MB / 0.5939 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02002/0.636, allocations: 15.28 MB / 0.6089 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.636, allocations: 9 kB / 0.6089 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.6382, allocations: 2.268 MB / 0.6111 GB, free: 98.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/0.6422, allocations: 1.253 MB / 0.6123 GB, free: 96.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/0.6701, allocations: 27.47 MB / 0.6391 GB, free: 67.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.671, allocations: 1.849 MB / 0.6409 GB, free: 66.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004411/0.6754, allocations: 1.752 MB / 0.6426 GB, free: 64.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.6766, allocations: 0.8898 MB / 0.6435 GB, free: 63.39 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6766, allocations: 0 / 0.6435 GB, free: 63.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.364/3.04, allocations: 81.86 MB / 0.7234 GB, free: 154.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/3.04, allocations: 230.4 kB / 0.7237 GB, free: 153.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/7.414, allocations: 0 / 0.7237 GB, free: 153.8 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