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.001619/0.001619, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.48 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08462, allocations: 50.52 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3121/0.3967, allocations: 154.7 MB / 0.5003 GB, free: 364 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.398, allocations: 0.7037 MB / 0.501 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3982, allocations: 4 kB / 0.501 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.3986, allocations: 71.52 kB / 0.5011 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.3992, allocations: 291 kB / 0.5013 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.4021, allocations: 1.133 MB / 0.5024 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004671/0.4068, allocations: 5.601 MB / 0.5079 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.4071, allocations: 267.8 kB / 0.5082 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.4107, allocations: 2.156 MB / 0.5103 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.4141, allocations: 1.967 MB / 0.5122 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.4152, allocations: 240 kB / 0.5124 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.4195, allocations: 1.732 MB / 0.5141 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.4215, allocations: 1.216 MB / 0.5153 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003313/0.4248, allocations: 1.568 MB / 0.5168 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006429/0.4312, allocations: 4.523 MB / 0.5213 GB, free: 10.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4313, allocations: 0 / 0.5213 GB, free: 10.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4313, allocations: 0 / 0.5213 GB, free: 10.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001238/0.4314, allocations: 0 / 0.5213 GB, free: 10.86 MB / 446.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.0107/0.4421, allocations: 3.496 MB / 0.5247 GB, free: 7.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4422, allocations: 8.031 kB / 0.5247 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009477/0.4431, allocations: 378 kB / 0.525 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.4453, allocations: 322.3 kB / 0.5253 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.4482, allocations: 1.331 MB / 0.5266 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.4483, allocations: 176.9 kB / 0.5268 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.4489, allocations: 247.8 kB / 0.527 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007887/0.4568, allocations: 3.82 MB / 0.5308 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.4569, allocations: 0 / 0.5308 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005981/0.4575, allocations: 116 kB / 0.5309 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.4576, allocations: 64 kB / 0.5309 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1539/0.6115, allocations: 5.976 MB / 0.5368 GB, free: 158.3 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.01754/0.6291, allocations: 11.24 MB / 0.5478 GB, free: 152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/0.6354, allocations: 5.037 MB / 0.5527 GB, free: 149.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.6383, allocations: 2.405 MB / 0.555 GB, free: 148.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.6387, allocations: 440.4 kB / 0.5555 GB, free: 147.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.75e-05/0.6388, allocations: 104 kB / 0.5556 GB, free: 147.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.3e-06/0.6388, allocations: 0 / 0.5556 GB, free: 147.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007676/0.6465, allocations: 5.809 MB / 0.5612 GB, free: 142.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6466, allocations: 90.47 kB / 0.5613 GB, free: 142.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.6474, allocations: 0.8674 MB / 0.5622 GB, free: 141.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003063/0.6477, allocations: 105.7 kB / 0.5623 GB, free: 141.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.6479, allocations: 0.5148 MB / 0.5628 GB, free: 141.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/0.6486, allocations: 1.306 MB / 0.564 GB, free: 140 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.6493, allocations: 0.6292 MB / 0.5647 GB, free: 139.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.6494, allocations: 353.9 kB / 0.565 GB, free: 139 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.6516, allocations: 1.744 MB / 0.5667 GB, free: 137.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.6541, allocations: 2.269 MB / 0.5689 GB, free: 134.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004892/0.659, allocations: 4.324 MB / 0.5731 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.659, allocations: 0 / 0.5731 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005865/0.6649, allocations: 4.59 MB / 0.5776 GB, free: 125.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6649, allocations: 12.77 kB / 0.5776 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6649, allocations: 12 kB / 0.5776 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.6649, allocations: 24.75 kB / 0.5777 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.6683, allocations: 0.7918 MB / 0.5784 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/0.6684, allocations: 35.92 kB / 0.5785 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.6705, allocations: 363.9 kB / 0.5788 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.6708, allocations: 147.9 kB / 0.579 GB, free: 124.3 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.0011/0.6719, allocations: 0.7636 MB / 0.5797 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/0.6724, allocations: 213.7 kB / 0.5799 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.6796, allocations: 5.175 MB / 0.585 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.6796, allocations: 40 kB / 0.585 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6796, allocations: 8 kB / 0.585 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.6797, allocations: 23.91 kB / 0.585 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.683, allocations: 2.819 MB / 0.5878 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.683, allocations: 0 / 0.5878 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/0.6861, allocations: 0.7333 MB / 0.5885 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.6861, allocations: 12 kB / 0.5885 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.6863, allocations: 95.89 kB / 0.5886 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.6863, allocations: 16 kB / 0.5886 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6863, allocations: 1.125 kB / 0.5886 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008108/0.6945, allocations: 7.221 MB / 0.5957 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.6948, allocations: 318 kB / 0.596 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.6951, allocations: 83.83 kB / 0.5961 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/0.6977, allocations: 227.8 kB / 0.5963 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/0.6982, allocations: 306.9 kB / 0.5966 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/0.6985, allocations: 183.9 kB / 0.5967 GB, free: 106 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.6991, allocations: 0.6785 MB / 0.5974 GB, free: 105.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6992, allocations: 0 / 0.5974 GB, free: 105.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001812/0.701, allocations: 1.097 MB / 0.5985 GB, free: 104.2 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.009065/0.71, allocations: 8.116 MB / 0.6064 GB, free: 96.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02253/0.7326, allocations: 15.27 MB / 0.6213 GB, free: 80.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.7326, allocations: 8.938 kB / 0.6213 GB, free: 80.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.7352, allocations: 2.263 MB / 0.6235 GB, free: 78.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/0.7403, allocations: 1.249 MB / 0.6247 GB, free: 77.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.7696, allocations: 26.6 MB / 0.6507 GB, free: 49.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.7705, allocations: 1.843 MB / 0.6525 GB, free: 47.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004584/0.7751, allocations: 1.756 MB / 0.6542 GB, free: 45.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.7765, allocations: 0.8898 MB / 0.6551 GB, free: 44.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7765, allocations: 0 / 0.6551 GB, free: 44.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/1.01, allocations: 82.64 MB / 0.7358 GB, free: 131.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.19, allocations: 16.92 kB / 0.7358 GB, free: 131.8 MB / 446.1 MB (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