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.0016/0.0016, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 59.47 kB / 307 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.07788, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2714/0.3493, allocations: 154.7 MB / 0.5003 GB, free: 308 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3504, allocations: 0.7033 MB / 0.501 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.3505, allocations: 4 kB / 0.501 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.3508, allocations: 79.48 kB / 0.5011 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.3513, allocations: 295 kB / 0.5013 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.3537, allocations: 1.122 MB / 0.5024 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003986/0.3577, allocations: 5.601 MB / 0.5079 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.358, allocations: 268.5 kB / 0.5082 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.36, allocations: 2.16 MB / 0.5103 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.3622, allocations: 1.967 MB / 0.5122 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.3627, allocations: 236 kB / 0.5124 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.3655, allocations: 1.735 MB / 0.5141 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3665, allocations: 1.22 MB / 0.5153 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.3683, allocations: 1.565 MB / 0.5168 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.3721, allocations: 4.527 MB / 0.5213 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3721, allocations: 0 / 0.5213 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3721, allocations: 4 kB / 0.5213 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.3722, allocations: 0 / 0.5213 GB, free: 10.79 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.007753/0.3799, allocations: 3.488 MB / 0.5247 GB, free: 7.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.38, allocations: 16.02 kB / 0.5247 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004499/0.3804, allocations: 370 kB / 0.525 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.3821, allocations: 327.1 kB / 0.5253 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.3843, allocations: 1.323 MB / 0.5266 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.3844, allocations: 188.9 kB / 0.5268 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.3848, allocations: 239.9 kB / 0.527 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.39, allocations: 3.823 MB / 0.5308 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.3901, allocations: 0 / 0.5308 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/0.3904, allocations: 108 kB / 0.5309 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.3904, allocations: 60 kB / 0.5309 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1327/0.5232, allocations: 5.989 MB / 0.5368 GB, free: 158.3 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.01574/0.5389, allocations: 11.24 MB / 0.5478 GB, free: 151.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005537/0.5445, allocations: 5.034 MB / 0.5527 GB, free: 149.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.5469, allocations: 2.415 MB / 0.555 GB, free: 148.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.5473, allocations: 434.7 kB / 0.5555 GB, free: 147.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.5474, allocations: 97.97 kB / 0.5555 GB, free: 147.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 4.689e-06/0.5474, allocations: 0 / 0.5555 GB, free: 147.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.006923/0.5543, allocations: 5.812 MB / 0.5612 GB, free: 142.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5543, allocations: 90.47 kB / 0.5613 GB, free: 142.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.5551, allocations: 0.8674 MB / 0.5622 GB, free: 141.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.5553, allocations: 101.7 kB / 0.5623 GB, free: 141.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.5555, allocations: 0.5185 MB / 0.5628 GB, free: 141.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005526/0.5561, allocations: 1.307 MB / 0.564 GB, free: 139.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.5568, allocations: 0.625 MB / 0.5646 GB, free: 139.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.5569, allocations: 361.9 kB / 0.565 GB, free: 138.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/0.5589, allocations: 1.744 MB / 0.5667 GB, free: 137.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.5611, allocations: 2.265 MB / 0.5689 GB, free: 134.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.5658, allocations: 4.326 MB / 0.5731 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5658, allocations: 4 kB / 0.5731 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005497/0.5713, allocations: 4.586 MB / 0.5776 GB, free: 125.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5713, allocations: 12.94 kB / 0.5776 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5713, allocations: 12.55 kB / 0.5776 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.5714, allocations: 24 kB / 0.5777 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.5745, allocations: 0.7918 MB / 0.5784 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.5745, allocations: 35.92 kB / 0.5785 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5764, allocations: 360.5 kB / 0.5788 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.5767, allocations: 158.7 kB / 0.579 GB, free: 124.3 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.001019/0.5777, allocations: 0.7582 MB / 0.5797 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.5781, allocations: 213.7 kB / 0.5799 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.5849, allocations: 5.178 MB / 0.585 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.5849, allocations: 40 kB / 0.585 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5849, allocations: 0 / 0.585 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.585, allocations: 23.92 kB / 0.585 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.5879, allocations: 2.819 MB / 0.5878 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.588, allocations: 0 / 0.5878 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/0.5909, allocations: 0.7333 MB / 0.5885 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.5909, allocations: 12 kB / 0.5885 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.5911, allocations: 91.95 kB / 0.5886 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.5911, allocations: 16 kB / 0.5886 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5911, allocations: 9.75 kB / 0.5886 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00756/0.5986, allocations: 7.213 MB / 0.5957 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.5989, allocations: 318 kB / 0.596 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.5992, allocations: 91.83 kB / 0.5961 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/0.6017, allocations: 219.8 kB / 0.5963 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.6021, allocations: 314.9 kB / 0.5966 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/0.6024, allocations: 183.9 kB / 0.5967 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005666/0.603, allocations: 0.6785 MB / 0.5974 GB, free: 105.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.603, allocations: 0 / 0.5974 GB, free: 105.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001672/0.6047, allocations: 1.093 MB / 0.5985 GB, free: 104.1 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.008476/0.6132, allocations: 8.118 MB / 0.6064 GB, free: 96.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02035/0.6335, allocations: 15.28 MB / 0.6213 GB, free: 80.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6336, allocations: 5 kB / 0.6213 GB, free: 80.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.6359, allocations: 2.268 MB / 0.6235 GB, free: 78.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.6407, allocations: 1.248 MB / 0.6248 GB, free: 77.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/0.6669, allocations: 26.59 MB / 0.6507 GB, free: 49.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.6678, allocations: 1.846 MB / 0.6525 GB, free: 47.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004162/0.672, allocations: 1.756 MB / 0.6542 GB, free: 45.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.6732, allocations: 0.8898 MB / 0.6551 GB, free: 44.55 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6732, allocations: 0 / 0.6551 GB, free: 44.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/3.023, allocations: 82.64 MB / 0.7358 GB, free: 131.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/13.39, allocations: 4.922 kB / 0.7358 GB, free: 131.9 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