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.001266/0.001266, 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.001208/0.001208, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.299/1.299, 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.00159/0.00159, allocations: 63.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07831, allocations: 46.61 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3034/0.3818, allocations: 153.1 MB / 0.5154 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3833, allocations: 0.9459 MB / 0.5163 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.3834, allocations: 4.938 kB / 0.5163 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.3838, allocations: 83.48 kB / 0.5164 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.3844, allocations: 290.7 kB / 0.5167 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.3876, allocations: 1.303 MB / 0.518 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005277/0.3929, allocations: 5.597 MB / 0.5234 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.3933, allocations: 260.8 kB / 0.5237 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.3961, allocations: 2.171 MB / 0.5258 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.3989, allocations: 1.97 MB / 0.5277 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.3995, allocations: 236 kB / 0.5279 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.4032, allocations: 1.931 MB / 0.5298 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.4046, allocations: 1.219 MB / 0.531 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.4067, allocations: 1.572 MB / 0.5326 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.4121, allocations: 4.642 MB / 0.5371 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4121, allocations: 3.984 kB / 0.5371 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4121, allocations: 0 / 0.5371 GB, free: 15.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.501e-05/0.4122, allocations: 0 / 0.5371 GB, free: 15.98 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.008495/0.4207, allocations: 3.568 MB / 0.5406 GB, free: 12.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4208, allocations: 12.03 kB / 0.5406 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/0.4213, allocations: 373.9 kB / 0.5409 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.423, allocations: 343.4 kB / 0.5413 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.4253, allocations: 1.344 MB / 0.5426 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4255, allocations: 180.9 kB / 0.5428 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.4259, allocations: 242.9 kB / 0.543 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/0.4319, allocations: 3.827 MB / 0.5467 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.432, allocations: 0 / 0.5467 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.4323, allocations: 112 kB / 0.5468 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.4324, allocations: 60 kB / 0.5469 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1529/0.5853, allocations: 5.983 MB / 0.5527 GB, free: 164.6 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.01846/0.6038, allocations: 11.23 MB / 0.5637 GB, free: 159.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.6102, allocations: 5.045 MB / 0.5686 GB, free: 157.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.6132, allocations: 2.404 MB / 0.571 GB, free: 156.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/0.6137, allocations: 439.5 kB / 0.5714 GB, free: 156.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.6138, allocations: 97.97 kB / 0.5715 GB, free: 156.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.25e-06/0.6138, allocations: 1 kB / 0.5715 GB, free: 156.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008331/0.6221, allocations: 5.824 MB / 0.5772 GB, free: 154 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6222, allocations: 91.31 kB / 0.5773 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.6231, allocations: 0.867 MB / 0.5781 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.6234, allocations: 108.7 kB / 0.5782 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6236, allocations: 0.5305 MB / 0.5787 GB, free: 152.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006768/0.6243, allocations: 1.373 MB / 0.5801 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000738/0.6251, allocations: 0.6263 MB / 0.5807 GB, free: 151.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.6251, allocations: 355.9 kB / 0.581 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.6273, allocations: 1.745 MB / 0.5827 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.6296, allocations: 2.26 MB / 0.5849 GB, free: 149 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/0.6343, allocations: 4.329 MB / 0.5892 GB, free: 145.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6343, allocations: 4 kB / 0.5892 GB, free: 145.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00564/0.64, allocations: 4.598 MB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.64, allocations: 12 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.64, allocations: 8 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.6401, allocations: 28 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.6432, allocations: 0.7924 MB / 0.5945 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/0.6432, allocations: 35.88 kB / 0.5945 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.6452, allocations: 373.5 kB / 0.5949 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.6454, allocations: 145.6 kB / 0.595 GB, free: 139.3 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.001131/0.6466, allocations: 0.7582 MB / 0.5957 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.647, allocations: 226.7 kB / 0.596 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006984/0.654, allocations: 5.161 MB / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.6541, allocations: 40 kB / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6541, allocations: 0 / 0.601 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.6541, allocations: 23.91 kB / 0.6011 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.6574, allocations: 2.832 MB / 0.6038 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.6574, allocations: 0.875 kB / 0.6038 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.6604, allocations: 0.7371 MB / 0.6045 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.6604, allocations: 16 kB / 0.6046 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.6606, allocations: 87.97 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.6606, allocations: 12 kB / 0.6047 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6606, allocations: 4 kB / 0.6047 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008066/0.6687, allocations: 7.227 MB / 0.6117 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.6691, allocations: 327.7 kB / 0.612 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.6694, allocations: 83.92 kB / 0.6121 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/0.672, allocations: 223.7 kB / 0.6123 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.6725, allocations: 310.9 kB / 0.6126 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/0.6728, allocations: 179.9 kB / 0.6128 GB, free: 121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006225/0.6734, allocations: 0.6824 MB / 0.6135 GB, free: 120.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6734, allocations: 3.938 kB / 0.6135 GB, free: 120.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001885/0.6753, allocations: 1.093 MB / 0.6145 GB, free: 119.2 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.008899/0.6842, allocations: 8.156 MB / 0.6225 GB, free: 111 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.6895, allocations: 4.301 MB / 0.6267 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6895, allocations: 9.75 kB / 0.6267 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.6919, allocations: 2.267 MB / 0.6289 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/0.6966, allocations: 1.243 MB / 0.6301 GB, free: 103.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/0.7236, allocations: 24.65 MB / 0.6542 GB, free: 77.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008467/0.7245, allocations: 1.848 MB / 0.656 GB, free: 76.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0038/0.7283, allocations: 1.775 MB / 0.6577 GB, free: 74.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7296, allocations: 0.8858 MB / 0.6586 GB, free: 73.36 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7296, allocations: 0 / 0.6586 GB, free: 73.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.9854, allocations: 83.58 MB / 0.7402 GB, free: 158.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.89, allocations: 6.312 kB / 0.7402 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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