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.0009942/0.0009942, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001028/0.001028, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001117/0.001117, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09878, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3674/0.4662, allocations: 153.1 MB / 0.5154 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.4682, allocations: 0.945 MB / 0.5163 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.4684, allocations: 4 kB / 0.5163 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.4689, allocations: 75.5 kB / 0.5164 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007907/0.4697, allocations: 294.6 kB / 0.5167 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.4739, allocations: 1.312 MB / 0.518 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005499/0.4794, allocations: 5.605 MB / 0.5234 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.4799, allocations: 256.9 kB / 0.5237 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004268/0.4841, allocations: 2.234 MB / 0.5259 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.488, allocations: 1.97 MB / 0.5278 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.4893, allocations: 243.9 kB / 0.528 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00536/0.4946, allocations: 1.927 MB / 0.5299 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.4969, allocations: 1.216 MB / 0.5311 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.4996, allocations: 1.572 MB / 0.5326 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006175/0.5058, allocations: 4.638 MB / 0.5372 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5058, allocations: 0 / 0.5372 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5058, allocations: 4 kB / 0.5372 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.179e-05/0.5059, allocations: 0 / 0.5372 GB, free: 15.89 MB / 478.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.009194/0.5151, allocations: 3.568 MB / 0.5406 GB, free: 12.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5151, allocations: 8.031 kB / 0.5407 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005238/0.5157, allocations: 376.5 kB / 0.541 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.5175, allocations: 347.3 kB / 0.5413 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.5205, allocations: 1.344 MB / 0.5427 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.5207, allocations: 180.9 kB / 0.5428 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.5211, allocations: 240 kB / 0.5431 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006418/0.5275, allocations: 3.819 MB / 0.5468 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.5276, allocations: 3.938 kB / 0.5468 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004649/0.5281, allocations: 116 kB / 0.5469 GB, free: 5.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.5281, allocations: 56 kB / 0.547 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.208/0.7361, allocations: 5.988 MB / 0.5528 GB, free: 164.7 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.02165/0.7578, allocations: 11.23 MB / 0.5638 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/0.7647, allocations: 5.034 MB / 0.5687 GB, free: 157.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.7679, allocations: 2.408 MB / 0.571 GB, free: 156.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.7684, allocations: 436.5 kB / 0.5715 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/0.7685, allocations: 98.03 kB / 0.5715 GB, free: 156.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.141e-06/0.7685, allocations: 0 / 0.5715 GB, free: 156.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009122/0.7777, allocations: 5.831 MB / 0.5772 GB, free: 154 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.7777, allocations: 91.59 kB / 0.5773 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.7787, allocations: 0.8702 MB / 0.5782 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/0.7791, allocations: 101.1 kB / 0.5783 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.7793, allocations: 0.5275 MB / 0.5788 GB, free: 153 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.7801, allocations: 1.373 MB / 0.5801 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007913/0.7809, allocations: 0.6311 MB / 0.5808 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.781, allocations: 353 kB / 0.5811 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.7831, allocations: 1.747 MB / 0.5828 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.7854, allocations: 2.254 MB / 0.585 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/0.7902, allocations: 4.338 MB / 0.5892 GB, free: 145.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.7902, allocations: 0 / 0.5892 GB, free: 145.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005662/0.7959, allocations: 4.599 MB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7959, allocations: 12 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.7959, allocations: 12 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.796, allocations: 24 kB / 0.5938 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.7991, allocations: 0.7943 MB / 0.5945 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/0.7991, allocations: 39.92 kB / 0.5946 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.8012, allocations: 370.4 kB / 0.5949 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.8014, allocations: 145.7 kB / 0.5951 GB, free: 139.2 MB / 478.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.001215/0.8026, allocations: 0.7582 MB / 0.5958 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.8031, allocations: 222.7 kB / 0.596 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006718/0.8098, allocations: 5.166 MB / 0.6011 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.8098, allocations: 44 kB / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.8099, allocations: 0 / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.8099, allocations: 19.92 kB / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.8131, allocations: 2.828 MB / 0.6039 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.8131, allocations: 0.875 kB / 0.6039 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/0.8161, allocations: 0.7333 MB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/0.8162, allocations: 16 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.8163, allocations: 91.97 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.8164, allocations: 19.98 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8164, allocations: 0 / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008007/0.8244, allocations: 7.227 MB / 0.6118 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.8249, allocations: 330.8 kB / 0.6121 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/0.8252, allocations: 81.56 kB / 0.6122 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/0.8278, allocations: 222.7 kB / 0.6124 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.8283, allocations: 314.9 kB / 0.6127 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/0.8286, allocations: 175.9 kB / 0.6129 GB, free: 120.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006262/0.8292, allocations: 0.6824 MB / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8292, allocations: 4 kB / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001979/0.8312, allocations: 1.089 MB / 0.6146 GB, free: 119.1 MB / 478.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.009015/0.8402, allocations: 8.156 MB / 0.6226 GB, free: 110.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.8455, allocations: 4.309 MB / 0.6268 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.8456, allocations: 5 kB / 0.6268 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.848, allocations: 2.268 MB / 0.629 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/0.8529, allocations: 1.246 MB / 0.6302 GB, free: 103.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/0.8808, allocations: 24.64 MB / 0.6543 GB, free: 77.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/0.8818, allocations: 1.852 MB / 0.6561 GB, free: 75.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003997/0.8858, allocations: 1.771 MB / 0.6578 GB, free: 74.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.8871, allocations: 0.8858 MB / 0.6587 GB, free: 73.27 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.8871, allocations: 0 / 0.6587 GB, free: 73.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/1.179, allocations: 83.59 MB / 0.7403 GB, free: 158.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.53, allocations: 4.594 kB / 0.7403 GB, free: 158.1 MB / 478.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