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.002154/0.002155, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.002986/0.002986, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.682/2.682, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002541/0.002541, allocations: 52.14 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1614, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.6632/0.8246, allocations: 153.1 MB / 480.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.8284, allocations: 0.9522 MB / 481.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.8288, allocations: 4 kB / 481.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.8297, allocations: 77.86 kB / 481.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.8315, allocations: 290.7 kB / 481.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009142/0.8407, allocations: 1.304 MB / 483.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.8512, allocations: 5.601 MB / 488.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.8521, allocations: 260 kB / 489 MB, free: 5.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006856/0.859, allocations: 2.164 MB / 491.1 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006392/0.8654, allocations: 1.963 MB / 493.1 MB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.8675, allocations: 240 kB / 493.3 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.8786, allocations: 1.849 MB / 495.2 MB, free: 15.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004607/0.8833, allocations: 1.216 MB / 496.4 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007212/0.8905, allocations: 1.565 MB / 497.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.9053, allocations: 4.601 MB / 0.4908 GB, free: 7.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.9054, allocations: 0 / 0.4908 GB, free: 7.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.9055, allocations: 8 kB / 0.4908 GB, free: 7.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000192/0.9057, allocations: 0 / 0.4908 GB, free: 7.719 MB / 398.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.01953/0.9252, allocations: 3.511 MB / 0.4942 GB, free: 4.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.9253, allocations: 8.031 kB / 0.4942 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001638/0.9269, allocations: 370.9 kB / 0.4946 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.9299, allocations: 330.1 kB / 0.4949 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.9335, allocations: 1.324 MB / 0.4962 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.9337, allocations: 180.9 kB / 0.4963 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.9342, allocations: 251.8 kB / 0.4966 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007698/0.942, allocations: 3.815 MB / 0.5003 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.942, allocations: 0 / 0.5003 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/0.9425, allocations: 116 kB / 0.5004 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/0.9426, allocations: 56 kB / 0.5005 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.9561, allocations: 5.994 MB / 0.5063 GB, free: 7.609 MB / 414.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.04215/0.9984, allocations: 11.24 MB / 0.5173 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/1.014, allocations: 5.034 MB / 0.5222 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007185/1.021, allocations: 2.408 MB / 0.5246 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.022, allocations: 435.3 kB / 0.525 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/1.023, allocations: 98.62 kB / 0.5251 GB, free: 3.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 2.668e-05/1.023, allocations: 0 / 0.5251 GB, free: 3.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01411/1.037, allocations: 5.812 MB / 0.5308 GB, free: 13.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/1.037, allocations: 98.39 kB / 0.5309 GB, free: 13.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.038, allocations: 0.8752 MB / 0.5317 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006663/1.039, allocations: 101.7 kB / 0.5318 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/1.039, allocations: 0.5149 MB / 0.5323 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.041, allocations: 1.301 MB / 0.5336 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/1.043, allocations: 0.6332 MB / 0.5342 GB, free: 10.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/1.043, allocations: 353.9 kB / 0.5345 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/1.046, allocations: 1.748 MB / 0.5362 GB, free: 7.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004825/1.051, allocations: 2.254 MB / 0.5384 GB, free: 5.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.064, allocations: 4.336 MB / 0.5427 GB, free: 1.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.609e-05/1.064, allocations: 4 kB / 0.5427 GB, free: 1.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.3074/1.371, allocations: 4.577 MB / 0.5472 GB, free: 176.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/1.371, allocations: 9.969 kB / 0.5472 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-05/1.371, allocations: 10.44 kB / 0.5472 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/1.371, allocations: 28.31 kB / 0.5472 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.378, allocations: 0.7933 MB / 0.548 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/1.378, allocations: 41.3 kB / 0.548 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.383, allocations: 360.2 kB / 0.5484 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.384, allocations: 147 kB / 0.5485 GB, free: 176.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.003525/1.388, allocations: 0.7594 MB / 0.5492 GB, free: 176.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/1.389, allocations: 209.8 kB / 0.5494 GB, free: 176.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.408, allocations: 5.172 MB / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/1.408, allocations: 48.81 kB / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/1.408, allocations: 0 / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.825e-05/1.408, allocations: 22.66 kB / 0.5546 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008294/1.417, allocations: 2.816 MB / 0.5573 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.112e-05/1.417, allocations: 0 / 0.5573 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005917/1.423, allocations: 0.7265 MB / 0.558 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/1.423, allocations: 16.08 kB / 0.558 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007725/1.424, allocations: 96.5 kB / 0.5581 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/1.424, allocations: 19.09 kB / 0.5581 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.424, allocations: 2.25 kB / 0.5581 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.441, allocations: 7.215 MB / 0.5652 GB, free: 169.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007855/1.442, allocations: 322.8 kB / 0.5655 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008832/1.443, allocations: 83.83 kB / 0.5656 GB, free: 168.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004737/1.448, allocations: 219.5 kB / 0.5658 GB, free: 168.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.449, allocations: 314.6 kB / 0.5661 GB, free: 168.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008428/1.45, allocations: 179.9 kB / 0.5663 GB, free: 168.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001336/1.451, allocations: 0.6824 MB / 0.5669 GB, free: 167.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.451, allocations: 0 / 0.5669 GB, free: 167.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00439/1.456, allocations: 1.094 MB / 0.568 GB, free: 166.3 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.01886/1.475, allocations: 8.135 MB / 0.5759 GB, free: 158.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04511/1.52, allocations: 15.28 MB / 0.5909 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.52, allocations: 5 kB / 0.5909 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00597/1.526, allocations: 2.267 MB / 0.5931 GB, free: 140.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/1.537, allocations: 1.253 MB / 0.5943 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06576/1.603, allocations: 26.61 MB / 0.6203 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.604, allocations: 1.848 MB / 0.6221 GB, free: 109.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01087/1.615, allocations: 1.756 MB / 0.6238 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/1.618, allocations: 0.8898 MB / 0.6247 GB, free: 106.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/1.618, allocations: 0 / 0.6247 GB, free: 106.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/1.768, allocations: 82.85 MB / 0.7056 GB, free: 23.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/19.85, allocations: 8.547 kB / 0.7056 GB, free: 23.74 MB / 446.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