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.001272/0.001272, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001362, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2209, allocations: 50.54 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3771/0.598, allocations: 154.7 MB / 0.5503 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009528/0.599, allocations: 0.7018 MB / 0.551 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.5991, allocations: 2.781 kB / 0.551 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.5994, allocations: 84.38 kB / 0.5511 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.5999, allocations: 289.6 kB / 0.5514 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.6021, allocations: 1.119 MB / 0.5525 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.6053, allocations: 5.595 MB / 0.5579 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.6056, allocations: 263.7 kB / 0.5582 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.608, allocations: 2.18 MB / 0.5603 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.6101, allocations: 1.971 MB / 0.5623 GB, free: 496 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004907/0.6106, allocations: 237.1 kB / 0.5625 GB, free: 496 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.6134, allocations: 1.776 MB / 0.5642 GB, free: 476 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009927/0.6144, allocations: 1.222 MB / 0.5654 GB, free: 468 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.6162, allocations: 1.564 MB / 0.5669 GB, free: 436 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.6198, allocations: 4.564 MB / 0.5714 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6198, allocations: 0 / 0.5714 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6198, allocations: 0 / 0.5714 GB, free: 15.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.102e-05/0.6198, allocations: 0 / 0.5714 GB, free: 15.94 MB / 478.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.007651/0.6275, allocations: 3.558 MB / 0.5749 GB, free: 14.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6275, allocations: 10.06 kB / 0.5749 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004269/0.628, allocations: 372.1 kB / 0.5752 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.6297, allocations: 340.1 kB / 0.5756 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.6317, allocations: 1.338 MB / 0.5769 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.6318, allocations: 180.5 kB / 0.577 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/0.6322, allocations: 247.7 kB / 0.5773 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.6373, allocations: 3.825 MB / 0.581 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.6373, allocations: 0 / 0.581 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.6377, allocations: 116.7 kB / 0.5811 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.6377, allocations: 57.94 kB / 0.5812 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007451/0.6452, allocations: 5.982 MB / 0.587 GB, free: 12.3 MB / 478.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.01867/0.6638, allocations: 11.23 MB / 0.598 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006916/0.6708, allocations: 5.049 MB / 0.6029 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/0.6742, allocations: 2.401 MB / 0.6053 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.6748, allocations: 438.5 kB / 0.6057 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.6749, allocations: 94.62 kB / 0.6058 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.562e-06/0.6749, allocations: 4 kB / 0.6058 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009599/0.6845, allocations: 5.828 MB / 0.6115 GB, free: 5.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.6846, allocations: 90.47 kB / 0.6115 GB, free: 5.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6857, allocations: 0.8713 MB / 0.6124 GB, free: 4.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.6861, allocations: 102.5 kB / 0.6125 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.6865, allocations: 0.5341 MB / 0.613 GB, free: 4.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.6876, allocations: 1.367 MB / 0.6144 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009601/0.6886, allocations: 0.6255 MB / 0.615 GB, free: 2.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6887, allocations: 357.9 kB / 0.6153 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.6915, allocations: 1.744 MB / 0.617 GB, free: 240 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/0.6948, allocations: 2.265 MB / 0.6192 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00652/0.7013, allocations: 4.321 MB / 0.6234 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.7013, allocations: 8 kB / 0.6234 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007614/0.709, allocations: 4.601 MB / 0.6279 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.709, allocations: 12 kB / 0.628 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.709, allocations: 8 kB / 0.628 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.7091, allocations: 31.94 kB / 0.628 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/0.7126, allocations: 0.7931 MB / 0.6288 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-05/0.7126, allocations: 32.31 kB / 0.6288 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.7148, allocations: 365.6 kB / 0.6291 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.7151, allocations: 145.6 kB / 0.6293 GB, free: 3.48 MB / 0.4981 GB 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.001361/0.7165, allocations: 0.7579 MB / 0.63 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000525/0.717, allocations: 218.8 kB / 0.6302 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008869/0.7259, allocations: 5.174 MB / 0.6353 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.7259, allocations: 43.94 kB / 0.6353 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.726, allocations: 0 / 0.6353 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-05/0.726, allocations: 19.92 kB / 0.6353 GB, free: 13.27 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.7303, allocations: 2.827 MB / 0.6381 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7304, allocations: 4 kB / 0.6381 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/0.7337, allocations: 0.7307 MB / 0.6388 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/0.7337, allocations: 12 kB / 0.6388 GB, free: 9.789 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.7339, allocations: 99.95 kB / 0.6389 GB, free: 9.691 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.734, allocations: 15.94 kB / 0.6389 GB, free: 9.676 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.734, allocations: 4 kB / 0.6389 GB, free: 9.672 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.7451, allocations: 7.228 MB / 0.646 GB, free: 2.402 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.7456, allocations: 326.9 kB / 0.6463 GB, free: 2.062 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.746, allocations: 87.83 kB / 0.6464 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/0.7488, allocations: 231.7 kB / 0.6466 GB, free: 1.75 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/0.7494, allocations: 310.9 kB / 0.6469 GB, free: 1.445 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003817/0.7498, allocations: 175.9 kB / 0.6471 GB, free: 1.273 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0008929/0.7507, allocations: 0.6863 MB / 0.6478 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7507, allocations: 0 / 0.6478 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.002308/0.753, allocations: 1.093 MB / 0.6488 GB, free: 15.49 MB / 0.5294 GB 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.01208/0.7651, allocations: 8.125 MB / 0.6568 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006767/0.7719, allocations: 4.303 MB / 0.661 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.7719, allocations: 5 kB / 0.661 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/0.7752, allocations: 2.261 MB / 0.6632 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005482/0.7807, allocations: 1.262 MB / 0.6644 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03876/0.8194, allocations: 24.65 MB / 0.6885 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.821, allocations: 1.845 MB / 0.6903 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004677/0.8257, allocations: 1.771 MB / 0.692 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/0.8273, allocations: 0.8858 MB / 0.6929 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.8273, allocations: 0 / 0.6929 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3087/1.136, allocations: 83.38 MB / 0.7743 GB, free: 298.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.59, allocations: 14.66 kB / 0.7743 GB, free: 298.3 MB / 0.6231 GB (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.1.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