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.001479/0.00148, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001658/0.001658, allocations: 200 kB / 18.01 MB, free: 5.047 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.000966, allocations: 51.94 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2591, allocations: 49.43 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1583/0.4175, allocations: 151.9 MB / 0.5391 GB, free: 344 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.249/0.6666, allocations: 0.6951 MB / 0.5398 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.6668, allocations: 2.594 kB / 0.5398 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.6672, allocations: 76.64 kB / 0.5399 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.668, allocations: 291.9 kB / 0.5402 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6708, allocations: 1.12 MB / 0.5413 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004093/0.6749, allocations: 5.603 MB / 0.5467 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.6752, allocations: 255 kB / 0.547 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.6785, allocations: 2.241 MB / 0.5492 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.6814, allocations: 1.968 MB / 0.5511 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000624/0.682, allocations: 237.3 kB / 0.5513 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.6855, allocations: 1.728 MB / 0.553 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.6869, allocations: 1.231 MB / 0.5542 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002978/0.6899, allocations: 1.565 MB / 0.5557 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.6964, allocations: 4.543 MB / 0.5602 GB, free: 1.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.6964, allocations: 0.9688 kB / 0.5602 GB, free: 1.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6964, allocations: 0 / 0.5602 GB, free: 1.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001262/0.6966, allocations: 0 / 0.5602 GB, free: 1.07 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.0105/0.7071, allocations: 3.549 MB / 0.5636 GB, free: 15.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.7071, allocations: 11.47 kB / 0.5636 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.7082, allocations: 372.1 kB / 0.564 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.7105, allocations: 335.3 kB / 0.5643 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/0.7143, allocations: 1.348 MB / 0.5656 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.7144, allocations: 181.1 kB / 0.5658 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.7152, allocations: 244.7 kB / 0.566 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/0.7219, allocations: 3.82 MB / 0.5698 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.722, allocations: 1 kB / 0.5698 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.7224, allocations: 116.8 kB / 0.5699 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.7224, allocations: 56.81 kB / 0.5699 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008413/0.7309, allocations: 5.984 MB / 0.5758 GB, free: 15.26 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.01959/0.7505, allocations: 11.24 MB / 0.5868 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006111/0.7566, allocations: 5.033 MB / 0.5917 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.7597, allocations: 2.403 MB / 0.594 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/0.7602, allocations: 441.9 kB / 0.5944 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/0.7603, allocations: 94.34 kB / 0.5945 GB, free: 1.531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 4.929e-06/0.7603, allocations: 0.9375 kB / 0.5945 GB, free: 1.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009077/0.7694, allocations: 5.823 MB / 0.6002 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.7695, allocations: 95.12 kB / 0.6003 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.7705, allocations: 0.8752 MB / 0.6012 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/0.7709, allocations: 99.55 kB / 0.6013 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.7713, allocations: 0.5372 MB / 0.6018 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.7723, allocations: 1.368 MB / 0.6031 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/0.7732, allocations: 0.6255 MB / 0.6037 GB, free: 9.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7733, allocations: 358.9 kB / 0.6041 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.7759, allocations: 1.746 MB / 0.6058 GB, free: 6.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.779, allocations: 2.264 MB / 0.608 GB, free: 4.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/0.7854, allocations: 4.323 MB / 0.6122 GB, free: 120 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.7854, allocations: 7.75 kB / 0.6122 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008251/0.7937, allocations: 4.597 MB / 0.6167 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7938, allocations: 12 kB / 0.6167 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.7938, allocations: 8 kB / 0.6167 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/0.7939, allocations: 29 kB / 0.6168 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.7974, allocations: 0.7924 MB / 0.6175 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.072e-05/0.7975, allocations: 42.2 kB / 0.6176 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.8, allocations: 367 kB / 0.6179 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.8003, allocations: 143.9 kB / 0.6181 GB, free: 10.25 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.00149/0.8018, allocations: 0.7596 MB / 0.6188 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/0.8024, allocations: 219.5 kB / 0.619 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008156/0.8106, allocations: 5.164 MB / 0.624 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.8106, allocations: 40 kB / 0.6241 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.8107, allocations: 4.812 kB / 0.6241 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/0.8107, allocations: 23.92 kB / 0.6241 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/0.8148, allocations: 2.826 MB / 0.6269 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8148, allocations: 1.031 kB / 0.6269 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/0.8182, allocations: 0.7311 MB / 0.6276 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.611e-05/0.8182, allocations: 12.88 kB / 0.6276 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/0.8185, allocations: 95.95 kB / 0.6277 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.8185, allocations: 16.94 kB / 0.6277 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8185, allocations: 3.938 kB / 0.6277 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.8288, allocations: 7.221 MB / 0.6348 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/0.8296, allocations: 330.9 kB / 0.6351 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/0.83, allocations: 83.89 kB / 0.6352 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/0.8331, allocations: 227.3 kB / 0.6354 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/0.8337, allocations: 318.5 kB / 0.6357 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003606/0.8341, allocations: 183.8 kB / 0.6359 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009278/0.835, allocations: 0.6833 MB / 0.6365 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.835, allocations: 0 / 0.6365 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00311/0.8381, allocations: 1.086 MB / 0.6376 GB, free: 6.332 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.01138/0.8495, allocations: 8.11 MB / 0.6455 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006466/0.856, allocations: 4.305 MB / 0.6497 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.856, allocations: 5.906 kB / 0.6497 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/0.8591, allocations: 2.267 MB / 0.6519 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/0.865, allocations: 1.257 MB / 0.6532 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03695/0.902, allocations: 24.66 MB / 0.6772 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.9033, allocations: 1.852 MB / 0.679 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004697/0.908, allocations: 1.768 MB / 0.6808 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/0.9098, allocations: 0.8898 MB / 0.6816 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.9098, allocations: 0 / 0.6816 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/1.227, allocations: 83.22 MB / 0.7629 GB, free: 309.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.78, allocations: 3.906 kB / 0.7629 GB, free: 309.4 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 & 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