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.001638/0.001638, allocations: 109.6 kB / 17.06 MB, free: 6.004 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.001814/0.001814, allocations: 192 kB / 18 MB, free: 5.09 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 43.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1688/0.4002, allocations: 151.9 MB / 0.5391 GB, free: 368 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2182/0.6185, allocations: 0.6862 MB / 0.5398 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.6187, allocations: 1.625 kB / 0.5398 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.6192, allocations: 84.44 kB / 0.5399 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.6198, allocations: 286.6 kB / 0.5402 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.6224, allocations: 1.119 MB / 0.5413 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.6263, allocations: 5.6 MB / 0.5467 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.6266, allocations: 258.8 kB / 0.547 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.629, allocations: 2.174 MB / 0.5491 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.6317, allocations: 1.966 MB / 0.551 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006832/0.6324, allocations: 240 kB / 0.5512 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.6358, allocations: 1.73 MB / 0.5529 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.6369, allocations: 1.226 MB / 0.5541 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.6394, allocations: 1.568 MB / 0.5557 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.6441, allocations: 4.544 MB / 0.5601 GB, free: 1.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6442, allocations: 2.5 kB / 0.5601 GB, free: 1.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6442, allocations: 0.9688 kB / 0.5601 GB, free: 1.105 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.974e-05/0.6443, allocations: 0 / 0.5601 GB, free: 1.105 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.008773/0.6531, allocations: 3.545 MB / 0.5636 GB, free: 15.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.6531, allocations: 17.12 kB / 0.5636 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005659/0.6537, allocations: 372.4 kB / 0.5639 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.6555, allocations: 336 kB / 0.5643 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.6578, allocations: 1.349 MB / 0.5656 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.6579, allocations: 180.9 kB / 0.5657 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/0.6583, allocations: 244.7 kB / 0.566 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005649/0.664, allocations: 3.821 MB / 0.5697 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.6641, allocations: 1.125 kB / 0.5697 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.6644, allocations: 112.6 kB / 0.5698 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.6645, allocations: 59.28 kB / 0.5699 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008059/0.6725, allocations: 5.987 MB / 0.5757 GB, free: 15.29 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.02082/0.6934, allocations: 11.23 MB / 0.5867 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.7009, allocations: 5.035 MB / 0.5916 GB, free: 3.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/0.7046, allocations: 2.401 MB / 0.594 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/0.7052, allocations: 439.2 kB / 0.5944 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.261e-05/0.7054, allocations: 98.39 kB / 0.5945 GB, free: 1.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.292e-06/0.7054, allocations: 0.9375 kB / 0.5945 GB, free: 1.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01026/0.7156, allocations: 5.822 MB / 0.6002 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.7157, allocations: 95.38 kB / 0.6002 GB, free: 12.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.717, allocations: 0.8713 MB / 0.6011 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.7174, allocations: 102.7 kB / 0.6012 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.7178, allocations: 0.5339 MB / 0.6017 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.7191, allocations: 1.369 MB / 0.603 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.7202, allocations: 0.6255 MB / 0.6037 GB, free: 9.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7204, allocations: 358.8 kB / 0.604 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.7234, allocations: 1.745 MB / 0.6057 GB, free: 7.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.7269, allocations: 2.261 MB / 0.6079 GB, free: 4.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00689/0.7338, allocations: 4.327 MB / 0.6121 GB, free: 260 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.7338, allocations: 4.625 kB / 0.6121 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008106/0.7419, allocations: 4.594 MB / 0.6166 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.742, allocations: 12 kB / 0.6166 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.742, allocations: 8 kB / 0.6166 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.242e-05/0.7421, allocations: 28.84 kB / 0.6167 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.7458, allocations: 0.7886 MB / 0.6174 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.258e-05/0.7459, allocations: 45.86 kB / 0.6175 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.7484, allocations: 371 kB / 0.6178 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004262/0.7488, allocations: 151.9 kB / 0.618 GB, free: 10.38 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.001665/0.7505, allocations: 0.756 MB / 0.6187 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007844/0.7513, allocations: 218.8 kB / 0.6189 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009748/0.761, allocations: 5.168 MB / 0.624 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.7611, allocations: 40 kB / 0.624 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.7611, allocations: 4.75 kB / 0.624 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/0.7612, allocations: 19.92 kB / 0.624 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.766, allocations: 2.829 MB / 0.6268 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.766, allocations: 0 / 0.6268 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/0.7696, allocations: 0.7316 MB / 0.6275 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.942e-05/0.7697, allocations: 12.81 kB / 0.6275 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/0.7701, allocations: 91.95 kB / 0.6276 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-05/0.7701, allocations: 13.06 kB / 0.6276 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7701, allocations: 7.938 kB / 0.6276 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.7821, allocations: 7.222 MB / 0.6347 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.7828, allocations: 331.8 kB / 0.635 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005078/0.7833, allocations: 83.89 kB / 0.6351 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/0.7864, allocations: 226.9 kB / 0.6353 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/0.7871, allocations: 315 kB / 0.6356 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005045/0.7876, allocations: 183.9 kB / 0.6358 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009724/0.7886, allocations: 0.6794 MB / 0.6364 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7886, allocations: 0 / 0.6364 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002789/0.7914, allocations: 1.09 MB / 0.6375 GB, free: 6.473 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.01314/0.8046, allocations: 8.114 MB / 0.6454 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007301/0.8119, allocations: 4.309 MB / 0.6496 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.8119, allocations: 9 kB / 0.6497 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/0.8154, allocations: 2.263 MB / 0.6519 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/0.8213, allocations: 1.259 MB / 0.6531 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.8605, allocations: 24.65 MB / 0.6772 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.8621, allocations: 1.841 MB / 0.679 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004955/0.8671, allocations: 1.768 MB / 0.6807 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/0.8688, allocations: 0.8898 MB / 0.6816 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.8688, allocations: 0 / 0.6816 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3008/1.17, allocations: 83.22 MB / 0.7628 GB, free: 309.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.73, allocations: 7.781 kB / 0.7628 GB, free: 309.3 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 & /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