Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 105.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 196 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 39.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.235, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1569/0.3919, allocations: 151.8 MB / 0.5391 GB, free: 400 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2243/0.6162, allocations: 0.6955 MB / 0.5398 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.6164, allocations: 1.719 kB / 0.5398 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.6168, allocations: 80.81 kB / 0.5399 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.6176, allocations: 283.4 kB / 0.5402 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.6203, allocations: 1.131 MB / 0.5413 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004325/0.6246, allocations: 5.595 MB / 0.5467 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.625, allocations: 262.5 kB / 0.547 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.6284, allocations: 2.231 MB / 0.5492 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.6317, allocations: 1.964 MB / 0.5511 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009124/0.6326, allocations: 238.3 kB / 0.5513 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.6368, allocations: 1.736 MB / 0.553 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.6386, allocations: 1.222 MB / 0.5542 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.6423, allocations: 1.56 MB / 0.5557 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.6483, allocations: 4.542 MB / 0.5601 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.6483, allocations: 0.6875 kB / 0.5601 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6483, allocations: 0 / 0.5601 GB, free: 1.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001382/0.6485, allocations: 0.5625 kB / 0.5601 GB, free: 1.117 MB / 462.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.01042/0.6589, allocations: 3.49 MB / 0.5636 GB, free: 16.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6589, allocations: 7.375 kB / 0.5636 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009539/0.6599, allocations: 379.6 kB / 0.5639 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.6621, allocations: 322.9 kB / 0.5642 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.6658, allocations: 1.345 MB / 0.5655 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.666, allocations: 178.5 kB / 0.5657 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007832/0.6668, allocations: 243.1 kB / 0.5659 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007762/0.6746, allocations: 3.819 MB / 0.5697 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.6747, allocations: 0.9375 kB / 0.5697 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006833/0.6754, allocations: 116.3 kB / 0.5698 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.6754, allocations: 58.47 kB / 0.5698 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009128/0.6846, allocations: 5.985 MB / 0.5757 GB, free: 15.38 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.0219/0.7065, allocations: 11.21 MB / 0.5866 GB, free: 7.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.7131, allocations: 5.036 MB / 0.5915 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.7165, allocations: 2.405 MB / 0.5939 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.7171, allocations: 444.4 kB / 0.5943 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/0.7172, allocations: 90.44 kB / 0.5944 GB, free: 1.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.2e-06/0.7172, allocations: 0 / 0.5944 GB, free: 1.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01014/0.7273, allocations: 5.817 MB / 0.6001 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.7275, allocations: 102.4 kB / 0.6002 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7286, allocations: 0.872 MB / 0.601 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005592/0.7291, allocations: 105.7 kB / 0.6011 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.7295, allocations: 0.5148 MB / 0.6016 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.7308, allocations: 1.306 MB / 0.6029 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.7318, allocations: 0.6303 MB / 0.6035 GB, free: 9.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.7321, allocations: 351.1 kB / 0.6039 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.7351, allocations: 1.748 MB / 0.6056 GB, free: 7.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.7387, allocations: 2.261 MB / 0.6078 GB, free: 4.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007311/0.7461, allocations: 4.33 MB / 0.612 GB, free: 372 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.7461, allocations: 0 / 0.612 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008929/0.7551, allocations: 4.583 MB / 0.6165 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.7551, allocations: 12 kB / 0.6165 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.7552, allocations: 12.91 kB / 0.6165 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.7552, allocations: 24 kB / 0.6165 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/0.7593, allocations: 0.7927 MB / 0.6173 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-05/0.7594, allocations: 42.2 kB / 0.6173 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.7623, allocations: 358.7 kB / 0.6177 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/0.7629, allocations: 143.9 kB / 0.6178 GB, free: 10.52 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.001853/0.7648, allocations: 0.759 MB / 0.6186 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008782/0.7657, allocations: 210.8 kB / 0.6188 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.776, allocations: 5.16 MB / 0.6238 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/0.776, allocations: 44 kB / 0.6238 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.7761, allocations: 3.938 kB / 0.6239 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/0.7761, allocations: 20.92 kB / 0.6239 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.7815, allocations: 2.817 MB / 0.6266 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.7816, allocations: 5 kB / 0.6266 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/0.7856, allocations: 0.7272 MB / 0.6273 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.445e-05/0.7856, allocations: 13.09 kB / 0.6274 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005717/0.7862, allocations: 87.97 kB / 0.6274 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-05/0.7863, allocations: 27.17 kB / 0.6275 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7863, allocations: 4.562 kB / 0.6275 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.7982, allocations: 7.212 MB / 0.6345 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/0.7989, allocations: 318.9 kB / 0.6348 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/0.7996, allocations: 87.83 kB / 0.6349 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/0.8031, allocations: 223.1 kB / 0.6351 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009365/0.804, allocations: 319.5 kB / 0.6354 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006496/0.8047, allocations: 175.9 kB / 0.6356 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009735/0.8057, allocations: 0.691 MB / 0.6363 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8057, allocations: 0 / 0.6363 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003652/0.8093, allocations: 1.078 MB / 0.6373 GB, free: 6.645 MB / 0.5137 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.01476/0.8241, allocations: 8.119 MB / 0.6452 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008175/0.8324, allocations: 4.297 MB / 0.6494 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.8324, allocations: 5.969 kB / 0.6494 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/0.8361, allocations: 2.267 MB / 0.6517 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007083/0.8433, allocations: 1.264 MB / 0.6529 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04258/0.8859, allocations: 24.55 MB / 0.6769 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.8874, allocations: 1.845 MB / 0.6787 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005628/0.893, allocations: 1.779 MB / 0.6804 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/0.8952, allocations: 0.8898 MB / 0.6813 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of SimCode: time 2.224e-06/0.8952, allocations: 0 / 0.6813 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3119/1.207, allocations: 84.52 MB / 0.7638 GB, free: 310 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.12, allocations: 2.031 kB / 0.7638 GB, free: 310 MB / 0.6231 GB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches