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.001328/0.001328, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2399, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.389/0.6289, allocations: 154.7 MB / 0.5503 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.6302, allocations: 0.7 MB / 0.551 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.6303, allocations: 3.094 kB / 0.551 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.6308, allocations: 79.98 kB / 0.551 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.6313, allocations: 295.4 kB / 0.5513 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.6344, allocations: 1.116 MB / 0.5524 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.6386, allocations: 5.607 MB / 0.5579 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.6388, allocations: 261 kB / 0.5581 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.6415, allocations: 2.234 MB / 0.5603 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.6439, allocations: 1.973 MB / 0.5623 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.6444, allocations: 239.1 kB / 0.5625 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.6474, allocations: 1.775 MB / 0.5642 GB, free: 488 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.6485, allocations: 1.22 MB / 0.5654 GB, free: 476 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.6507, allocations: 1.564 MB / 0.5669 GB, free: 444 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.6552, allocations: 4.566 MB / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6552, allocations: 0 / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6553, allocations: 0 / 0.5714 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.664e-05/0.6553, allocations: 3.094 kB / 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.008285/0.6636, allocations: 3.557 MB / 0.5749 GB, free: 14.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6637, allocations: 11.12 kB / 0.5749 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004633/0.6641, allocations: 372.1 kB / 0.5752 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.6659, allocations: 337 kB / 0.5756 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.6688, allocations: 1.34 MB / 0.5769 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.6689, allocations: 187.9 kB / 0.577 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.6693, allocations: 241 kB / 0.5773 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/0.6748, allocations: 3.825 MB / 0.581 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.6748, allocations: 0 / 0.581 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.6752, allocations: 117.9 kB / 0.5811 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.6752, allocations: 63.75 kB / 0.5812 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008047/0.6833, allocations: 5.981 MB / 0.587 GB, free: 12.31 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.0208/0.7041, allocations: 11.24 MB / 0.598 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.7111, allocations: 5.041 MB / 0.6029 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.7145, allocations: 2.401 MB / 0.6053 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/0.7151, allocations: 440.2 kB / 0.6057 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.7152, allocations: 98.61 kB / 0.6058 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.18e-06/0.7152, allocations: 0 / 0.6058 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009696/0.7249, allocations: 5.824 MB / 0.6115 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.725, allocations: 98.47 kB / 0.6116 GB, free: 5.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.7263, allocations: 0.8674 MB / 0.6124 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004218/0.7268, allocations: 105.7 kB / 0.6125 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.7271, allocations: 0.5333 MB / 0.613 GB, free: 4.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.7282, allocations: 1.364 MB / 0.6144 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.7293, allocations: 0.6294 MB / 0.615 GB, free: 2.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7294, allocations: 360.2 kB / 0.6153 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.7324, allocations: 1.748 MB / 0.617 GB, free: 192 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.7357, allocations: 2.256 MB / 0.6192 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/0.7423, allocations: 4.328 MB / 0.6235 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.7423, allocations: 4 kB / 0.6235 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007702/0.75, allocations: 4.597 MB / 0.6279 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.7501, allocations: 8.938 kB / 0.628 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.7501, allocations: 12 kB / 0.628 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.221e-05/0.7502, allocations: 31.94 kB / 0.628 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.7537, allocations: 0.7916 MB / 0.6288 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-05/0.7538, allocations: 34.27 kB / 0.6288 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.7562, allocations: 361.6 kB / 0.6291 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/0.7566, allocations: 147.9 kB / 0.6293 GB, free: 3.438 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.001627/0.7582, allocations: 0.7695 MB / 0.63 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008426/0.7591, allocations: 218.8 kB / 0.6302 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008852/0.7679, allocations: 5.164 MB / 0.6353 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/0.768, allocations: 51.12 kB / 0.6353 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.768, allocations: 0 / 0.6353 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/0.7681, allocations: 19.92 kB / 0.6354 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.7727, allocations: 2.824 MB / 0.6381 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.7728, allocations: 0 / 0.6381 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/0.7763, allocations: 0.7242 MB / 0.6388 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.08e-05/0.7763, allocations: 16 kB / 0.6388 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/0.7766, allocations: 102.1 kB / 0.6389 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.353e-05/0.7767, allocations: 15.94 kB / 0.639 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7767, allocations: 0 / 0.639 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.7878, allocations: 7.227 MB / 0.646 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.7884, allocations: 325.2 kB / 0.6463 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/0.7889, allocations: 87.81 kB / 0.6464 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/0.7921, allocations: 231.7 kB / 0.6466 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/0.7927, allocations: 318.9 kB / 0.6469 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000524/0.7933, allocations: 175.9 kB / 0.6471 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009908/0.7943, allocations: 0.6864 MB / 0.6478 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7943, allocations: 0 / 0.6478 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003082/0.7974, allocations: 1.093 MB / 0.6488 GB, free: 15.45 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.01231/0.8097, allocations: 8.125 MB / 0.6568 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00676/0.8165, allocations: 4.301 MB / 0.661 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.8165, allocations: 9 kB / 0.661 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/0.8197, allocations: 2.262 MB / 0.6632 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006222/0.8259, allocations: 1.252 MB / 0.6644 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/0.8668, allocations: 24.66 MB / 0.6885 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.8685, allocations: 1.848 MB / 0.6903 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00532/0.8739, allocations: 1.768 MB / 0.692 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/0.8757, allocations: 0.8898 MB / 0.6929 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.8758, allocations: 0 / 0.6929 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/1.189, allocations: 83.39 MB / 0.7743 GB, free: 298.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.29, allocations: 8.094 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.csv","/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