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.001677/0.001676, allocations: 108 kB / 16.92 MB, free: 6.145 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.001863/0.001863, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.911/1.911, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 47.98 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1274, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.5166/0.6441, allocations: 151.8 MB / 0.4902 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.6464, allocations: 0.6977 MB / 0.4909 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.6467, allocations: 3.938 kB / 0.4909 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.6474, allocations: 78.61 kB / 0.491 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.6487, allocations: 293.4 kB / 0.4913 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005412/0.6542, allocations: 1.113 MB / 0.4924 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008622/0.6628, allocations: 5.601 MB / 0.4978 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005968/0.6634, allocations: 255.7 kB / 0.4981 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.6692, allocations: 2.164 MB / 0.5002 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/0.6748, allocations: 1.963 MB / 0.5021 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.6764, allocations: 240 kB / 0.5023 GB, free: 324 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006704/0.6832, allocations: 1.693 MB / 0.504 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003061/0.6863, allocations: 1.22 MB / 0.5052 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004947/0.6912, allocations: 1.557 MB / 0.5067 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.7016, allocations: 4.504 MB / 0.5111 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7016, allocations: 0 / 0.5111 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7017, allocations: 1.312 kB / 0.5111 GB, free: 7.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.7018, allocations: 0 / 0.5111 GB, free: 7.32 MB / 430.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.01719/0.7191, allocations: 3.499 MB / 0.5145 GB, free: 3.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.7191, allocations: 8.031 kB / 0.5145 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001981/0.7211, allocations: 370 kB / 0.5149 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.7256, allocations: 330.3 kB / 0.5152 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/0.7306, allocations: 1.327 MB / 0.5165 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.7309, allocations: 176.9 kB / 0.5167 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.7322, allocations: 243.9 kB / 0.5169 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.746, allocations: 3.819 MB / 0.5206 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/0.7462, allocations: 0 / 0.5206 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/0.7478, allocations: 120 kB / 0.5207 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.7479, allocations: 60 kB / 0.5208 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.7661, allocations: 5.986 MB / 0.5266 GB, free: 7.219 MB / 446.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.267/1.033, allocations: 11.22 MB / 0.5376 GB, free: 161.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.049, allocations: 5.038 MB / 0.5425 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007977/1.057, allocations: 2.409 MB / 0.5449 GB, free: 158.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.058, allocations: 439.2 kB / 0.5453 GB, free: 158.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/1.059, allocations: 97.59 kB / 0.5454 GB, free: 158.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 2.842e-05/1.059, allocations: 0 / 0.5454 GB, free: 158.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01662/1.075, allocations: 5.812 MB / 0.5511 GB, free: 156.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/1.075, allocations: 93.34 kB / 0.5511 GB, free: 156.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.077, allocations: 0.8752 MB / 0.552 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007391/1.077, allocations: 106.3 kB / 0.5521 GB, free: 155.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/1.078, allocations: 0.5157 MB / 0.5526 GB, free: 155.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.079, allocations: 1.302 MB / 0.5539 GB, free: 154 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.08, allocations: 0.6274 MB / 0.5545 GB, free: 153.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/1.08, allocations: 360.4 kB / 0.5548 GB, free: 153.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/1.083, allocations: 1.746 MB / 0.5565 GB, free: 152.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.086, allocations: 2.255 MB / 0.5587 GB, free: 151.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00797/1.094, allocations: 4.338 MB / 0.563 GB, free: 147.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/1.094, allocations: 4 kB / 0.563 GB, free: 147.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01305/1.107, allocations: 4.58 MB / 0.5675 GB, free: 142.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/1.107, allocations: 8 kB / 0.5675 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/1.108, allocations: 15.91 kB / 0.5675 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.596e-05/1.108, allocations: 28 kB / 0.5675 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.114, allocations: 0.7971 MB / 0.5683 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.653e-05/1.114, allocations: 35.86 kB / 0.5683 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/1.118, allocations: 361.4 kB / 0.5687 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/1.119, allocations: 144 kB / 0.5688 GB, free: 141.6 MB / 446.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.003659/1.123, allocations: 0.7621 MB / 0.5695 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.125, allocations: 205.8 kB / 0.5697 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/1.143, allocations: 5.175 MB / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/1.143, allocations: 40 kB / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-05/1.143, allocations: 3.938 kB / 0.5748 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-05/1.143, allocations: 19.92 kB / 0.5749 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008211/1.151, allocations: 2.817 MB / 0.5776 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/1.151, allocations: 5.25 kB / 0.5776 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007491/1.159, allocations: 0.7294 MB / 0.5783 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.408e-05/1.159, allocations: 16 kB / 0.5783 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008204/1.16, allocations: 88.73 kB / 0.5784 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-05/1.16, allocations: 12 kB / 0.5784 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.16, allocations: 3.938 kB / 0.5784 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/1.181, allocations: 7.222 MB / 0.5855 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.182, allocations: 314 kB / 0.5858 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.183, allocations: 87.83 kB / 0.5859 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006344/1.189, allocations: 224.3 kB / 0.5861 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/1.191, allocations: 327.5 kB / 0.5864 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/1.192, allocations: 171.9 kB / 0.5866 GB, free: 123.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001706/1.194, allocations: 0.6863 MB / 0.5872 GB, free: 122.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.194, allocations: 0 / 0.5872 GB, free: 122.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00577/1.2, allocations: 1.08 MB / 0.5883 GB, free: 121.6 MB / 446.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.02301/1.223, allocations: 8.109 MB / 0.5962 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.05051/1.273, allocations: 15.28 MB / 0.6111 GB, free: 98.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.583e-05/1.273, allocations: 9 kB / 0.6111 GB, free: 98.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006855/1.28, allocations: 2.259 MB / 0.6133 GB, free: 95.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/1.293, allocations: 1.252 MB / 0.6146 GB, free: 94.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07234/1.366, allocations: 26.6 MB / 0.6405 GB, free: 66.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.368, allocations: 1.841 MB / 0.6423 GB, free: 64.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01223/1.38, allocations: 1.756 MB / 0.6441 GB, free: 62.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003671/1.384, allocations: 0.8898 MB / 0.6449 GB, free: 61.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/1.384, allocations: 0 / 0.6449 GB, free: 61.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6483/2.032, allocations: 82.48 MB / 0.7255 GB, free: 142.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/18.16, allocations: 1.172 kB / 0.7255 GB, free: 142.2 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches