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.001337/0.001337, allocations: 98.89 kB / 16.5 MB, free: 6.688 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.001123/0.001123, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 52.06 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08315, allocations: 49.44 MB / 349.5 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2849/0.3681, allocations: 149.7 MB / 499.2 MB, free: 15.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3691, allocations: 0.7151 MB / 499.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.3692, allocations: 4 kB / 499.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.3696, allocations: 73.77 kB / 500 MB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.3701, allocations: 277.8 kB / 0.4885 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.3725, allocations: 0.9563 MB / 0.4895 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00531/0.3778, allocations: 7.141 MB / 0.4964 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3781, allocations: 262.8 kB / 0.4967 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.3802, allocations: 1.901 MB / 0.4985 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3823, allocations: 1.963 MB / 0.5005 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005035/0.3828, allocations: 140 kB / 0.5006 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.3855, allocations: 1.685 MB / 0.5022 GB, free: 352 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.3866, allocations: 1.079 MB / 0.5033 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.3882, allocations: 1.42 MB / 0.5047 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.3921, allocations: 4.398 MB / 0.509 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3921, allocations: 0 / 0.509 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3921, allocations: 0 / 0.509 GB, free: 9.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.3921, allocations: 0 / 0.509 GB, free: 9.426 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.008314/0.4004, allocations: 3.496 MB / 0.5124 GB, free: 5.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.607e-05/0.4005, allocations: 11.97 kB / 0.5124 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005161/0.4011, allocations: 374 kB / 0.5128 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.4028, allocations: 334.3 kB / 0.5131 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.405, allocations: 1.315 MB / 0.5144 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4052, allocations: 180.9 kB / 0.5145 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.4055, allocations: 247.8 kB / 0.5148 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005629/0.4112, allocations: 3.819 MB / 0.5185 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.4112, allocations: 0 / 0.5185 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004588/0.4117, allocations: 116 kB / 0.5186 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.4117, allocations: 56 kB / 0.5187 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007966/0.4197, allocations: 5.986 MB / 0.5245 GB, free: 9.328 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.1597/0.5794, allocations: 11.17 MB / 0.5354 GB, free: 160.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/0.5859, allocations: 5.037 MB / 0.5403 GB, free: 158.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.5891, allocations: 2.404 MB / 0.5427 GB, free: 158.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.5896, allocations: 444.9 kB / 0.5431 GB, free: 157.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.5898, allocations: 93.97 kB / 0.5432 GB, free: 157.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.08e-06/0.5898, allocations: 1.562 kB / 0.5432 GB, free: 157.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008567/0.5983, allocations: 5.816 MB / 0.5489 GB, free: 156.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5984, allocations: 93.97 kB / 0.549 GB, free: 156.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009371/0.5993, allocations: 0.8696 MB / 0.5498 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.5996, allocations: 105.4 kB / 0.5499 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.5998, allocations: 0.5199 MB / 0.5504 GB, free: 155.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.6004, allocations: 1.3 MB / 0.5517 GB, free: 154.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.6013, allocations: 0.6278 MB / 0.5523 GB, free: 154 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.6013, allocations: 356.4 kB / 0.5527 GB, free: 153.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.6035, allocations: 1.746 MB / 0.5544 GB, free: 152.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.606, allocations: 2.256 MB / 0.5566 GB, free: 151.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.6107, allocations: 4.332 MB / 0.5608 GB, free: 149.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.6107, allocations: 4.375 kB / 0.5608 GB, free: 149.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005796/0.6165, allocations: 4.582 MB / 0.5653 GB, free: 145.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6166, allocations: 15.94 kB / 0.5653 GB, free: 145.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6166, allocations: 12 kB / 0.5653 GB, free: 145.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6166, allocations: 27.98 kB / 0.5653 GB, free: 145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.6199, allocations: 0.7963 MB / 0.5661 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/0.6199, allocations: 35.92 kB / 0.5661 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.6221, allocations: 419.9 kB / 0.5665 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.6223, allocations: 143.9 kB / 0.5667 GB, free: 143.7 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.001126/0.6234, allocations: 0.7618 MB / 0.5674 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.6239, allocations: 209.8 kB / 0.5676 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007188/0.6311, allocations: 5.172 MB / 0.5727 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6311, allocations: 47.88 kB / 0.5727 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6311, allocations: 0 / 0.5727 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.6312, allocations: 19.92 kB / 0.5727 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.6347, allocations: 2.813 MB / 0.5755 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.6348, allocations: 10.75 kB / 0.5755 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/0.638, allocations: 0.7254 MB / 0.5762 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.638, allocations: 15.94 kB / 0.5762 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.6382, allocations: 95.89 kB / 0.5763 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.6382, allocations: 16 kB / 0.5763 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6382, allocations: 3.812 kB / 0.5763 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/0.6465, allocations: 7.217 MB / 0.5834 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.6468, allocations: 323.4 kB / 0.5837 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.6471, allocations: 87.83 kB / 0.5838 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/0.6497, allocations: 295.5 kB / 0.584 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.6503, allocations: 310.9 kB / 0.5843 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/0.6506, allocations: 179.9 kB / 0.5845 GB, free: 125.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005942/0.6512, allocations: 0.6824 MB / 0.5852 GB, free: 124.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6512, allocations: 0 / 0.5852 GB, free: 124.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001848/0.6531, allocations: 1.084 MB / 0.5862 GB, free: 123.7 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.009222/0.6623, allocations: 8.112 MB / 0.5942 GB, free: 115.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005104/0.6674, allocations: 4.273 MB / 0.5983 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6674, allocations: 5 kB / 0.5983 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.67, allocations: 2.263 MB / 0.6005 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.6743, allocations: 1.234 MB / 0.6018 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/0.7049, allocations: 27.48 MB / 0.6286 GB, free: 78.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.7057, allocations: 1.841 MB / 0.6304 GB, free: 76.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004608/0.7104, allocations: 1.768 MB / 0.6321 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.7117, allocations: 0.8897 MB / 0.633 GB, free: 74.14 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.7117, allocations: 0 / 0.633 GB, free: 74.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.377/4.089, allocations: 79.6 MB / 0.7107 GB, free: 151.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/4.089, allocations: 234.3 kB / 0.7109 GB, free: 151.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.095/9.185, allocations: 0 / 0.7109 GB, free: 151.3 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