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.001553/0.001553, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001803/0.001803, allocations: 184.1 kB / 18.66 MB, free: 4.43 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.348/1.348, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001239/0.001239, allocations: 51.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.0871, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.341/0.4281, allocations: 153.1 MB / 0.5154 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4297, allocations: 0.9459 MB / 0.5163 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4299, allocations: 4.938 kB / 0.5163 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.4303, allocations: 83.48 kB / 0.5164 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.4309, allocations: 290.7 kB / 0.5167 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.4344, allocations: 1.316 MB / 0.518 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004472/0.4389, allocations: 5.593 MB / 0.5234 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.4393, allocations: 264.8 kB / 0.5237 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.4427, allocations: 2.234 MB / 0.5259 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.4459, allocations: 1.966 MB / 0.5278 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007485/0.4467, allocations: 244 kB / 0.528 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/0.4513, allocations: 1.927 MB / 0.5299 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.453, allocations: 1.219 MB / 0.5311 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002675/0.4557, allocations: 1.568 MB / 0.5326 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007219/0.4629, allocations: 4.638 MB / 0.5372 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.463, allocations: 4 kB / 0.5372 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.463, allocations: 4 kB / 0.5372 GB, free: 15.9 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001083/0.4631, allocations: 0 / 0.5372 GB, free: 15.9 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.009579/0.4727, allocations: 3.568 MB / 0.5406 GB, free: 12.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4728, allocations: 8.031 kB / 0.5407 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005957/0.4734, allocations: 377.9 kB / 0.541 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.4752, allocations: 343.4 kB / 0.5413 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.4781, allocations: 1.344 MB / 0.5427 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.4782, allocations: 180.8 kB / 0.5428 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/0.4788, allocations: 240 kB / 0.5431 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/0.4858, allocations: 3.818 MB / 0.5468 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.4859, allocations: 4 kB / 0.5468 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004475/0.4863, allocations: 116 kB / 0.5469 GB, free: 5.762 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.4864, allocations: 63.92 kB / 0.547 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1909/0.6773, allocations: 5.98 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.02335/0.7007, allocations: 11.23 MB / 0.5638 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007371/0.7081, allocations: 5.041 MB / 0.5687 GB, free: 157.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/0.7117, allocations: 2.407 MB / 0.571 GB, free: 156.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/0.7122, allocations: 440 kB / 0.5715 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.732e-05/0.7123, allocations: 98.12 kB / 0.5716 GB, free: 156.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.27e-06/0.7123, allocations: 0 / 0.5716 GB, free: 156.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009343/0.7217, allocations: 5.82 MB / 0.5772 GB, free: 154 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.7218, allocations: 95.53 kB / 0.5773 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.7228, allocations: 0.8727 MB / 0.5782 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004267/0.7233, allocations: 100.4 kB / 0.5783 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.7235, allocations: 0.5338 MB / 0.5788 GB, free: 153 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007331/0.7243, allocations: 1.367 MB / 0.5801 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007662/0.725, allocations: 0.631 MB / 0.5808 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.7251, allocations: 358.6 kB / 0.5811 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.7273, allocations: 1.739 MB / 0.5828 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.7298, allocations: 2.263 MB / 0.585 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005109/0.7349, allocations: 4.332 MB / 0.5892 GB, free: 145.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.7349, allocations: 4 kB / 0.5892 GB, free: 145.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006117/0.741, allocations: 4.6 MB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7411, allocations: 8 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7411, allocations: 12 kB / 0.5937 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/0.7411, allocations: 29.53 kB / 0.5938 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/0.7444, allocations: 0.7884 MB / 0.5945 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.211e-05/0.7444, allocations: 31.94 kB / 0.5946 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.7467, allocations: 373.5 kB / 0.5949 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.747, allocations: 148.9 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.001518/0.7485, allocations: 0.7582 MB / 0.5958 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/0.7491, allocations: 222.7 kB / 0.596 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007663/0.7568, allocations: 5.164 MB / 0.6011 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.7568, allocations: 40 kB / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.7568, allocations: 0 / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/0.7569, allocations: 19.92 kB / 0.6011 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/0.761, allocations: 2.833 MB / 0.6039 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.761, allocations: 0 / 0.6039 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/0.7642, allocations: 0.7341 MB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.7642, allocations: 20 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/0.7646, allocations: 95.95 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.233e-05/0.7646, allocations: 12 kB / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7646, allocations: 0 / 0.6047 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/0.7743, allocations: 7.219 MB / 0.6118 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.7749, allocations: 334.8 kB / 0.6121 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/0.7755, allocations: 81.5 kB / 0.6122 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/0.7784, allocations: 224.7 kB / 0.6124 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/0.779, allocations: 314.9 kB / 0.6127 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004834/0.7795, allocations: 175.9 kB / 0.6129 GB, free: 120.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.7803, allocations: 0.6863 MB / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.82e-07/0.7803, allocations: 3.938 kB / 0.6135 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002721/0.7831, 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.01083/0.7939, allocations: 8.161 MB / 0.6226 GB, free: 110.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006227/0.8002, allocations: 4.297 MB / 0.6268 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.8002, allocations: 5 kB / 0.6268 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.8032, allocations: 2.271 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.006063/0.8093, allocations: 1.244 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.03431/0.8436, allocations: 24.65 MB / 0.6543 GB, free: 77.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.845, allocations: 1.85 MB / 0.6561 GB, free: 75.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005173/0.8502, allocations: 1.775 MB / 0.6578 GB, free: 74.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/0.8519, allocations: 0.8936 MB / 0.6587 GB, free: 73.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.8519, allocations: 0 / 0.6587 GB, free: 73.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/1.142, allocations: 83.57 MB / 0.7403 GB, free: 158.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.26, allocations: 11.38 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