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.001552/0.001553, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.06 kB / 306.5 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08811, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2989/0.387, allocations: 152.6 MB / 0.4978 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3882, allocations: 0.7125 MB / 0.4985 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3884, allocations: 0 / 0.4985 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3887, allocations: 67.62 kB / 0.4985 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.3894, allocations: 275 kB / 0.4988 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3919, allocations: 1.023 MB / 0.4998 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.3962, allocations: 5.612 MB / 0.5053 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.3965, allocations: 268.4 kB / 0.5055 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.3996, allocations: 2.248 MB / 0.5077 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.4026, allocations: 2.088 MB / 0.5098 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.4037, allocations: 239.9 kB / 0.51 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.4075, allocations: 1.781 MB / 0.5117 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.4091, allocations: 1.224 MB / 0.5129 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.4111, allocations: 1.561 MB / 0.5145 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.4154, allocations: 4.555 MB / 0.5189 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4154, allocations: 0 / 0.5189 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4154, allocations: 0 / 0.5189 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.381e-05/0.4155, allocations: 0 / 0.5189 GB, free: 13.18 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.008077/0.4235, allocations: 3.499 MB / 0.5223 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4236, allocations: 8.031 kB / 0.5223 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004702/0.4241, allocations: 374 kB / 0.5227 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.4258, allocations: 326.3 kB / 0.523 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.428, allocations: 1.327 MB / 0.5243 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.4281, allocations: 176.9 kB / 0.5245 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.4285, allocations: 243.9 kB / 0.5247 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/0.4341, allocations: 3.823 MB / 0.5284 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.4341, allocations: 4 kB / 0.5284 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.4344, allocations: 116 kB / 0.5285 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.4345, allocations: 60 kB / 0.5286 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1522/0.5867, allocations: 5.979 MB / 0.5344 GB, free: 157.8 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.01769/0.6044, allocations: 11.18 MB / 0.5454 GB, free: 151.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006367/0.6108, allocations: 5.035 MB / 0.5503 GB, free: 149.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.6137, allocations: 2.413 MB / 0.5526 GB, free: 148.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/0.6142, allocations: 438.6 kB / 0.553 GB, free: 148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.6143, allocations: 98.28 kB / 0.5531 GB, free: 147.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.019e-06/0.6143, allocations: 1.75 kB / 0.5531 GB, free: 147.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007535/0.6218, allocations: 5.807 MB / 0.5588 GB, free: 145.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6219, allocations: 92.22 kB / 0.5589 GB, free: 145.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.6226, allocations: 0.8712 MB / 0.5598 GB, free: 144.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.6229, allocations: 101.7 kB / 0.5598 GB, free: 144.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.6231, allocations: 0.5214 MB / 0.5604 GB, free: 143.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/0.6237, allocations: 1.302 MB / 0.5616 GB, free: 142.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007335/0.6244, allocations: 0.6254 MB / 0.5622 GB, free: 141.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.6245, allocations: 361.9 kB / 0.5626 GB, free: 141.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.6266, allocations: 1.744 MB / 0.5643 GB, free: 139.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.629, allocations: 2.261 MB / 0.5665 GB, free: 137.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.6338, allocations: 4.326 MB / 0.5707 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.6339, allocations: 4 kB / 0.5707 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005801/0.6397, allocations: 4.59 MB / 0.5752 GB, free: 128.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6397, allocations: 12 kB / 0.5752 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6397, allocations: 11.94 kB / 0.5752 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.319e-05/0.6398, allocations: 31.94 kB / 0.5753 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.6431, allocations: 0.7905 MB / 0.576 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.6431, allocations: 35.86 kB / 0.5761 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.6455, allocations: 424.5 kB / 0.5765 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.6457, allocations: 140 kB / 0.5766 GB, free: 126.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.00115/0.6469, allocations: 0.7699 MB / 0.5774 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.6473, allocations: 213.7 kB / 0.5776 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/0.6546, allocations: 5.167 MB / 0.5826 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.6546, allocations: 43.98 kB / 0.5826 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6546, allocations: 0 / 0.5826 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/0.6547, allocations: 19.92 kB / 0.5827 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.6584, allocations: 2.823 MB / 0.5854 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.6584, allocations: 0 / 0.5854 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/0.6616, allocations: 0.7371 MB / 0.5861 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.6616, allocations: 16 kB / 0.5862 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.6618, allocations: 91.97 kB / 0.5862 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.6618, allocations: 12 kB / 0.5863 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6618, allocations: 4 kB / 0.5863 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/0.67, allocations: 7.214 MB / 0.5933 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.6705, allocations: 322 kB / 0.5936 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/0.6708, allocations: 87.83 kB / 0.5937 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/0.6736, allocations: 287.5 kB / 0.594 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/0.6741, allocations: 326.8 kB / 0.5943 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/0.6745, allocations: 171.9 kB / 0.5944 GB, free: 108.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.6751, allocations: 0.6863 MB / 0.5951 GB, free: 107.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6751, allocations: 0 / 0.5951 GB, free: 107.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001914/0.677, allocations: 1.083 MB / 0.5962 GB, free: 106.5 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.00905/0.6861, allocations: 8.121 MB / 0.6041 GB, free: 98.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02391/0.71, allocations: 15.28 MB / 0.619 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.71, allocations: 9.812 kB / 0.619 GB, free: 83.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002952/0.713, allocations: 2.271 MB / 0.6213 GB, free: 80.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/0.7187, allocations: 1.241 MB / 0.6225 GB, free: 79.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/0.7518, allocations: 27.48 MB / 0.6493 GB, free: 50.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.7533, allocations: 1.854 MB / 0.6511 GB, free: 48.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005412/0.7587, allocations: 1.756 MB / 0.6528 GB, free: 46.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.7602, allocations: 0.8858 MB / 0.6537 GB, free: 46 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.7602, allocations: 0 / 0.6537 GB, free: 46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/0.9929, allocations: 82.02 MB / 0.7338 GB, free: 133.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.9931, allocations: 230.6 kB / 0.734 GB, free: 133.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/5.775, allocations: 0 / 0.734 GB, free: 133.4 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