Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_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.001636/0.001636, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001731/0.001731, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.0872, allocations: 46.63 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.332/0.4192, allocations: 153.1 MB / 0.5154 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.4208, allocations: 0.9488 MB / 0.5163 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.4209, allocations: 4 kB / 0.5163 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.4213, allocations: 75.5 kB / 0.5164 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005853/0.4219, allocations: 290.7 kB / 0.5167 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.4254, allocations: 1.304 MB / 0.518 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00526/0.4306, allocations: 5.601 MB / 0.5234 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.431, allocations: 261.5 kB / 0.5237 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.4343, allocations: 2.171 MB / 0.5258 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.4375, allocations: 1.966 MB / 0.5277 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007245/0.4383, allocations: 236 kB / 0.5279 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.4426, allocations: 1.938 MB / 0.5298 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.4442, allocations: 1.22 MB / 0.531 GB, free: 6.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.4467, allocations: 1.565 MB / 0.5326 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.453, allocations: 4.638 MB / 0.5371 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.453, allocations: 0 / 0.5371 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.453, allocations: 0 / 0.5371 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.995e-05/0.4531, allocations: 0 / 0.5371 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.009133/0.4623, allocations: 3.568 MB / 0.5406 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4623, allocations: 12.03 kB / 0.5406 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005709/0.4629, allocations: 381.9 kB / 0.5409 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.4648, allocations: 343.3 kB / 0.5413 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.4674, allocations: 1.346 MB / 0.5426 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.4676, allocations: 184.9 kB / 0.5428 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.468, allocations: 240 kB / 0.543 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00672/0.4748, allocations: 3.819 MB / 0.5467 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.4748, allocations: 3.938 kB / 0.5467 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.4752, allocations: 112 kB / 0.5468 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.4753, allocations: 60 kB / 0.5469 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1753/0.6506, allocations: 5.982 MB / 0.5527 GB, free: 164.6 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.02047/0.6711, allocations: 11.22 MB / 0.5637 GB, free: 159.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.678, allocations: 5.042 MB / 0.5686 GB, free: 157.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/0.6813, allocations: 2.406 MB / 0.571 GB, free: 156.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.6819, allocations: 442.7 kB / 0.5714 GB, free: 156.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.297e-05/0.682, allocations: 97.22 kB / 0.5715 GB, free: 156.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 8.426e-06/0.682, allocations: 2.859 kB / 0.5715 GB, free: 156.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009284/0.6913, allocations: 5.824 MB / 0.5772 GB, free: 153.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.6914, allocations: 94.94 kB / 0.5773 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.6925, allocations: 0.8666 MB / 0.5781 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005047/0.6931, allocations: 105.1 kB / 0.5782 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6933, allocations: 0.5314 MB / 0.5787 GB, free: 152.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009151/0.6942, allocations: 1.369 MB / 0.5801 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.695, allocations: 0.628 MB / 0.5807 GB, free: 151.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.6951, allocations: 359 kB / 0.581 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.6974, allocations: 1.741 MB / 0.5827 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6998, allocations: 2.256 MB / 0.5849 GB, free: 149 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/0.7048, allocations: 4.331 MB / 0.5892 GB, free: 145.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.7048, allocations: 3.438 kB / 0.5892 GB, free: 145.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00605/0.7109, allocations: 4.599 MB / 0.5936 GB, free: 140.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.7109, allocations: 12.56 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.7109, allocations: 12 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.711, allocations: 24.75 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.7142, allocations: 0.7996 MB / 0.5945 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.425e-05/0.7143, allocations: 31.94 kB / 0.5945 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.7164, allocations: 370.4 kB / 0.5949 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.7167, allocations: 147.1 kB / 0.595 GB, free: 139.3 MB / 478.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.001311/0.718, allocations: 0.7621 MB / 0.5957 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000575/0.7186, allocations: 222.7 kB / 0.596 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007211/0.7258, allocations: 5.157 MB / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.7258, allocations: 45.08 kB / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.7259, allocations: 0 / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.7259, allocations: 23.91 kB / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.7293, allocations: 2.828 MB / 0.6038 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.7293, allocations: 4.75 kB / 0.6038 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.7323, allocations: 0.7371 MB / 0.6045 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-05/0.7323, allocations: 12 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.7325, allocations: 87.97 kB / 0.6046 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.7326, allocations: 16 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7326, allocations: 0.5 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008419/0.741, allocations: 7.227 MB / 0.6117 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.7415, allocations: 330.8 kB / 0.612 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.7418, allocations: 83.92 kB / 0.6121 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/0.7445, allocations: 224.7 kB / 0.6123 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/0.7449, allocations: 310.9 kB / 0.6126 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003225/0.7453, allocations: 179.9 kB / 0.6128 GB, free: 120.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.7459, allocations: 0.6902 MB / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7459, allocations: 0 / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002032/0.748, allocations: 1.089 MB / 0.6145 GB, free: 119.1 MB / 478.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.009137/0.7571, allocations: 8.16 MB / 0.6225 GB, free: 110.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005587/0.7627, allocations: 4.301 MB / 0.6267 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.7628, allocations: 5.25 kB / 0.6267 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.7654, allocations: 2.271 MB / 0.6289 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/0.7705, allocations: 1.251 MB / 0.6301 GB, free: 103.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/0.7999, allocations: 24.64 MB / 0.6542 GB, free: 77.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.8009, allocations: 1.848 MB / 0.656 GB, free: 75.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004111/0.805, allocations: 1.775 MB / 0.6577 GB, free: 74.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.8065, allocations: 0.8898 MB / 0.6586 GB, free: 73.31 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.8065, allocations: 0 / 0.6586 GB, free: 73.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2686/1.075, allocations: 83.58 MB / 0.7402 GB, free: 158.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.51, allocations: 5.25 kB / 0.7402 GB, free: 158.1 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches