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.0006757/0.0006757, allocations: 91.2 kB / 16.65 MB, free: 6.586 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.0007719/0.0007719, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.209/1.209, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002107, allocations: 11.06 kB / 301.5 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.07966, allocations: 50.42 MB / 351.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2838/0.3635, allocations: 147.8 MB / 499.7 MB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3647, allocations: 0.7018 MB / 0.4887 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3648, allocations: 0 / 0.4887 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.3652, allocations: 75.61 kB / 0.4887 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.3658, allocations: 285.5 kB / 0.489 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.3682, allocations: 0.95 MB / 0.4899 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005534/0.3737, allocations: 7.149 MB / 0.4969 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.3741, allocations: 260 kB / 0.4972 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.377, allocations: 1.897 MB / 0.499 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.3798, allocations: 1.971 MB / 0.5009 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00072/0.3805, allocations: 140 kB / 0.5011 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.3836, allocations: 1.673 MB / 0.5027 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.3849, allocations: 1.083 MB / 0.5038 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.3868, allocations: 1.445 MB / 0.5052 GB, free: 52 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.3908, allocations: 4.374 MB / 0.5095 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3908, allocations: 0 / 0.5095 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3908, allocations: 0 / 0.5095 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3909, allocations: 0 / 0.5095 GB, free: 11.66 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.006868/0.3977, allocations: 2.891 MB / 0.5123 GB, free: 8.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3978, allocations: 11.97 kB / 0.5123 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004705/0.3983, allocations: 374 kB / 0.5126 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.3998, allocations: 330.3 kB / 0.513 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.4019, allocations: 1.319 MB / 0.5142 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.402, allocations: 184.9 kB / 0.5144 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.4024, allocations: 239.9 kB / 0.5147 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005683/0.4081, allocations: 3.823 MB / 0.5184 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.4081, allocations: 5.156 kB / 0.5184 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003207/0.4085, allocations: 112 kB / 0.5185 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.4085, allocations: 60 kB / 0.5186 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1899/0.5984, allocations: 5.983 MB / 0.5244 GB, free: 24.85 MB / 430.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.01661/0.6151, allocations: 11.19 MB / 0.5353 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005379/0.6205, allocations: 5.04 MB / 0.5402 GB, free: 20.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.6231, allocations: 2.409 MB / 0.5426 GB, free: 20.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.6235, allocations: 436.4 kB / 0.543 GB, free: 19.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.6235, allocations: 97.62 kB / 0.5431 GB, free: 19.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.29e-06/0.6236, allocations: 0 / 0.5431 GB, free: 19.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.007437/0.631, allocations: 5.813 MB / 0.5488 GB, free: 19.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6311, allocations: 93.25 kB / 0.5489 GB, free: 19.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.6319, allocations: 0.8679 MB / 0.5497 GB, free: 19.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.6322, allocations: 108.5 kB / 0.5498 GB, free: 19.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.6325, allocations: 0.514 MB / 0.5503 GB, free: 18.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.6331, allocations: 1.308 MB / 0.5516 GB, free: 18.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.6334, allocations: 287 kB / 0.5519 GB, free: 18.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.6335, allocations: 363.8 kB / 0.5522 GB, free: 17.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.6357, allocations: 1.739 MB / 0.5539 GB, free: 17.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.638, allocations: 2.266 MB / 0.5561 GB, free: 17.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.6429, allocations: 4.325 MB / 0.5604 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.6429, allocations: 5.609 kB / 0.5604 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005666/0.6486, allocations: 4.585 MB / 0.5648 GB, free: 13.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6486, allocations: 12 kB / 0.5649 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.6487, allocations: 12 kB / 0.5649 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.6487, allocations: 24 kB / 0.5649 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.6517, allocations: 0.794 MB / 0.5657 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.6518, allocations: 30.91 kB / 0.5657 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.6539, allocations: 431.4 kB / 0.5661 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.6541, allocations: 147.4 kB / 0.5662 GB, free: 12.55 MB / 430.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.001001/0.6551, allocations: 0.762 MB / 0.567 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.6555, allocations: 205.8 kB / 0.5672 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006935/0.6624, allocations: 5.175 MB / 0.5722 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.6624, allocations: 40 kB / 0.5723 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6624, allocations: 0 / 0.5723 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.6625, allocations: 19.92 kB / 0.5723 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.6659, allocations: 2.823 MB / 0.5751 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.666, allocations: 0 / 0.5751 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/0.6689, allocations: 0.7268 MB / 0.5758 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.6689, allocations: 21.97 kB / 0.5758 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.6691, allocations: 91.95 kB / 0.5759 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.6691, allocations: 12 kB / 0.5759 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6691, allocations: 3.984 kB / 0.5759 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008899/0.678, allocations: 7.222 MB / 0.5829 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.6786, allocations: 349.8 kB / 0.5833 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.6789, allocations: 76 kB / 0.5833 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/0.6817, allocations: 299.5 kB / 0.5836 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/0.6822, allocations: 313.8 kB / 0.5839 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/0.6825, allocations: 175.9 kB / 0.5841 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007724/0.6833, allocations: 0.6863 MB / 0.5848 GB, free: 9.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6833, allocations: 0 / 0.5848 GB, free: 9.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002024/0.6853, allocations: 1.083 MB / 0.5858 GB, free: 8.801 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.01053/0.6959, allocations: 8.125 MB / 0.5938 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005942/0.7018, allocations: 4.272 MB / 0.5979 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.7018, allocations: 13.19 kB / 0.598 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.7047, allocations: 2.263 MB / 0.6002 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/0.7097, allocations: 1.228 MB / 0.6014 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03644/0.7462, allocations: 27.81 MB / 0.6285 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.7475, allocations: 1.848 MB / 0.6303 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004772/0.7522, allocations: 1.768 MB / 0.6321 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/0.7537, allocations: 0.8858 MB / 0.6329 GB, free: 7.203 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7537, allocations: 0 / 0.6329 GB, free: 7.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/0.8588, allocations: 78.83 MB / 0.7099 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.8591, allocations: 235.9 kB / 0.7101 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.183/5.042, allocations: 3.938 kB / 0.7101 GB, free: 8.688 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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