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.0011/0.0011, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.249, allocations: 50.55 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3896/0.6387, allocations: 154.7 MB / 0.5503 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.6398, allocations: 0.699 MB / 0.551 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.6399, allocations: 2.969 kB / 0.551 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.6403, allocations: 78.77 kB / 0.551 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005896/0.641, allocations: 292.3 kB / 0.5513 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.6435, allocations: 1.111 MB / 0.5524 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003528/0.647, allocations: 5.597 MB / 0.5579 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.6474, allocations: 265.1 kB / 0.5581 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.6504, allocations: 2.237 MB / 0.5603 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.6535, allocations: 1.964 MB / 0.5622 GB, free: 500 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007469/0.6543, allocations: 237.6 kB / 0.5624 GB, free: 500 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.6582, allocations: 1.778 MB / 0.5642 GB, free: 480 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.6596, allocations: 1.23 MB / 0.5654 GB, free: 468 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.6626, allocations: 1.558 MB / 0.5669 GB, free: 436 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.668, allocations: 4.561 MB / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.668, allocations: 0 / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.668, allocations: 2.25 kB / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001056/0.6682, allocations: 0 / 0.5714 GB, free: 15.95 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.01062/0.6788, allocations: 3.492 MB / 0.5748 GB, free: 14.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6788, allocations: 10.16 kB / 0.5748 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001054/0.6799, allocations: 377.5 kB / 0.5751 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.6822, allocations: 322.7 kB / 0.5755 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.6857, allocations: 1.338 MB / 0.5768 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.6859, allocations: 184.5 kB / 0.5769 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008126/0.6868, allocations: 246.7 kB / 0.5772 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007726/0.6945, allocations: 3.824 MB / 0.5809 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.6946, allocations: 0 / 0.5809 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/0.6951, allocations: 118.1 kB / 0.581 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.6952, allocations: 60.09 kB / 0.5811 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.704, allocations: 5.981 MB / 0.5869 GB, free: 12.41 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.02165/0.7257, allocations: 11.22 MB / 0.5979 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008289/0.734, allocations: 5.034 MB / 0.6028 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004265/0.7383, allocations: 2.401 MB / 0.6051 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.7391, allocations: 439 kB / 0.6056 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.7393, allocations: 103.3 kB / 0.6057 GB, free: 11.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 1.032e-05/0.7393, allocations: 0 / 0.6057 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01308/0.7524, allocations: 5.812 MB / 0.6113 GB, free: 6.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.7525, allocations: 90.47 kB / 0.6114 GB, free: 5.969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.7538, allocations: 0.8744 MB / 0.6123 GB, free: 5.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007619/0.7546, allocations: 105.7 kB / 0.6124 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.755, allocations: 0.5158 MB / 0.6129 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.7565, allocations: 1.3 MB / 0.6141 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.7581, allocations: 0.6293 MB / 0.6148 GB, free: 2.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7583, allocations: 357.9 kB / 0.6151 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/0.7614, allocations: 1.74 MB / 0.6168 GB, free: 444 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/0.765, allocations: 2.259 MB / 0.619 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006917/0.7719, allocations: 4.335 MB / 0.6232 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.772, allocations: 4 kB / 0.6232 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008757/0.7807, allocations: 4.585 MB / 0.6277 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.7808, allocations: 11.98 kB / 0.6277 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.7808, allocations: 12 kB / 0.6277 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.166e-05/0.7809, allocations: 32.72 kB / 0.6278 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.7849, allocations: 0.7876 MB / 0.6285 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-05/0.785, allocations: 35.17 kB / 0.6286 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/0.7877, allocations: 360.5 kB / 0.6289 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005483/0.7883, allocations: 147.9 kB / 0.6291 GB, free: 3.684 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.001933/0.7902, allocations: 0.7618 MB / 0.6298 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009666/0.7912, allocations: 216.9 kB / 0.63 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009693/0.8009, allocations: 5.164 MB / 0.6351 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/0.801, allocations: 43.94 kB / 0.6351 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.801, allocations: 0 / 0.6351 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.011e-05/0.8011, allocations: 23.92 kB / 0.6351 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005442/0.8065, allocations: 2.823 MB / 0.6379 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/0.8066, allocations: 0 / 0.6379 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/0.8104, allocations: 0.7281 MB / 0.6386 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/0.8105, allocations: 16 kB / 0.6386 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005616/0.8111, allocations: 95.95 kB / 0.6387 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-05/0.8111, allocations: 15.94 kB / 0.6387 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8111, allocations: 0 / 0.6387 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.8238, allocations: 7.219 MB / 0.6458 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.8245, allocations: 318 kB / 0.6461 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/0.8253, allocations: 83.83 kB / 0.6461 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/0.829, allocations: 231.7 kB / 0.6464 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/0.8301, allocations: 314.9 kB / 0.6467 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009269/0.8311, allocations: 175.9 kB / 0.6468 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001185/0.8323, allocations: 0.6824 MB / 0.6475 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.01e-07/0.8323, allocations: 4 kB / 0.6475 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004464/0.8368, allocations: 1.09 MB / 0.6486 GB, free: 15.73 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.01566/0.8525, allocations: 8.114 MB / 0.6565 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008018/0.8605, allocations: 4.3 MB / 0.6607 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.8606, allocations: 9 kB / 0.6607 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.8647, allocations: 2.259 MB / 0.6629 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007285/0.872, allocations: 1.258 MB / 0.6641 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/0.918, allocations: 24.58 MB / 0.6881 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.9197, allocations: 1.845 MB / 0.6899 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005457/0.9252, allocations: 1.768 MB / 0.6917 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/0.9273, allocations: 0.8898 MB / 0.6925 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.9273, allocations: 0 / 0.6925 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/1.231, allocations: 84.68 MB / 0.7752 GB, free: 297.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.07, allocations: 11.47 kB / 0.7752 GB, free: 297.8 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.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