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.001187/0.001188, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 58.34 kB / 306.3 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.07763, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2665/0.3442, allocations: 152.6 MB / 0.4975 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3453, allocations: 0.7177 MB / 0.4982 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3454, allocations: 0 / 0.4982 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3458, allocations: 75 kB / 0.4983 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.3463, allocations: 274.7 kB / 0.4986 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.3487, allocations: 0.9556 MB / 0.4995 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005017/0.3537, allocations: 7.157 MB / 0.5065 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.354, allocations: 257.4 kB / 0.5067 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.3569, allocations: 1.905 MB / 0.5086 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.3597, allocations: 1.967 MB / 0.5105 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006551/0.3603, allocations: 140 kB / 0.5107 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.3635, allocations: 1.716 MB / 0.5123 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009427/0.3644, allocations: 1.079 MB / 0.5134 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.3661, allocations: 1.416 MB / 0.5148 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.3699, allocations: 4.427 MB / 0.5191 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3699, allocations: 0 / 0.5191 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3699, allocations: 0 / 0.5191 GB, free: 12.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.3699, allocations: 0 / 0.5191 GB, free: 12.83 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.007985/0.3779, allocations: 3.506 MB / 0.5225 GB, free: 9.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3779, allocations: 8.031 kB / 0.5225 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004709/0.3784, allocations: 381.9 kB / 0.5229 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.3801, allocations: 326.3 kB / 0.5232 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.3823, allocations: 1.322 MB / 0.5245 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.3825, allocations: 184.9 kB / 0.5247 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.3828, allocations: 251.8 kB / 0.5249 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/0.3884, allocations: 3.819 MB / 0.5286 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.3885, allocations: 0 / 0.5286 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.3888, allocations: 116 kB / 0.5287 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.3889, allocations: 56 kB / 0.5288 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1444/0.5333, allocations: 5.981 MB / 0.5346 GB, free: 157.7 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.01668/0.55, allocations: 11.18 MB / 0.5456 GB, free: 151.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005832/0.5558, allocations: 5.038 MB / 0.5505 GB, free: 149.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.5586, allocations: 2.411 MB / 0.5528 GB, free: 148.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.559, allocations: 439.9 kB / 0.5532 GB, free: 147.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.559, allocations: 98.22 kB / 0.5533 GB, free: 147.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 4.97e-06/0.5591, allocations: 0 / 0.5533 GB, free: 147.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007158/0.5662, allocations: 5.81 MB / 0.559 GB, free: 145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5663, allocations: 94.03 kB / 0.5591 GB, free: 144.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.567, allocations: 0.869 MB / 0.56 GB, free: 144 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.5672, allocations: 101.7 kB / 0.5601 GB, free: 143.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.5674, allocations: 0.5175 MB / 0.5606 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.568, allocations: 1.302 MB / 0.5618 GB, free: 142.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.5687, allocations: 0.6328 MB / 0.5624 GB, free: 141.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.5688, allocations: 357.9 kB / 0.5628 GB, free: 141.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.5708, allocations: 1.744 MB / 0.5645 GB, free: 139.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.5731, allocations: 2.254 MB / 0.5667 GB, free: 136.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.5777, allocations: 4.333 MB / 0.5709 GB, free: 132.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5777, allocations: 4 kB / 0.5709 GB, free: 132.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005541/0.5832, allocations: 4.59 MB / 0.5754 GB, free: 127.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5833, allocations: 8 kB / 0.5754 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.5833, allocations: 12 kB / 0.5754 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.5833, allocations: 31.98 kB / 0.5755 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.5866, allocations: 0.7882 MB / 0.5762 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-05/0.5866, allocations: 31.92 kB / 0.5763 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.5889, allocations: 428.5 kB / 0.5767 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.5891, allocations: 143.9 kB / 0.5768 GB, free: 126.4 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.00111/0.5902, allocations: 0.7634 MB / 0.5775 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.5907, allocations: 213.7 kB / 0.5778 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00693/0.5976, allocations: 5.173 MB / 0.5828 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.5977, allocations: 40 kB / 0.5828 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5977, allocations: 0 / 0.5828 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/0.5977, allocations: 19.92 kB / 0.5829 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.6013, allocations: 2.826 MB / 0.5856 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.6013, allocations: 0 / 0.5856 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/0.6044, allocations: 0.7371 MB / 0.5863 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.6044, allocations: 16 kB / 0.5864 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.6046, allocations: 95.95 kB / 0.5864 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.6046, allocations: 12 kB / 0.5865 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6046, allocations: 0.5 kB / 0.5865 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00781/0.6124, allocations: 7.218 MB / 0.5935 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.6128, allocations: 314 kB / 0.5938 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.6131, allocations: 83.83 kB / 0.5939 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/0.6157, allocations: 303.4 kB / 0.5942 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/0.6162, allocations: 310.9 kB / 0.5945 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002834/0.6165, allocations: 183.9 kB / 0.5946 GB, free: 108 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005846/0.617, allocations: 0.6824 MB / 0.5953 GB, free: 107.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.617, allocations: 0 / 0.5953 GB, free: 107.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00178/0.6188, allocations: 1.088 MB / 0.5964 GB, free: 106.2 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.008668/0.6275, allocations: 8.116 MB / 0.6043 GB, free: 98.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004845/0.6324, allocations: 4.282 MB / 0.6085 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6324, allocations: 5 kB / 0.6085 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.6347, allocations: 2.271 MB / 0.6107 GB, free: 91.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/0.6391, allocations: 1.221 MB / 0.6119 GB, free: 90.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/0.6683, allocations: 27.48 MB / 0.6387 GB, free: 61.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/0.6691, allocations: 1.849 MB / 0.6405 GB, free: 59.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004368/0.6735, allocations: 1.771 MB / 0.6423 GB, free: 57.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.6748, allocations: 0.8819 MB / 0.6431 GB, free: 56.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6748, allocations: 4 kB / 0.6431 GB, free: 56.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.692/3.366, allocations: 79.77 MB / 0.721 GB, free: 137.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/3.367, allocations: 229.3 kB / 0.7213 GB, free: 137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/7.818, allocations: 0 / 0.7213 GB, free: 137 MB / 446.1 MB (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