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.001349/0.001349, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.00157/0.00157, allocations: 192 kB / 18.51 MB, free: 4.641 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.24/1.24, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001172/0.001172, allocations: 55.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08239, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3052/0.3876, allocations: 153.1 MB / 480.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3891, allocations: 0.9549 MB / 481.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.3892, allocations: 0 / 481.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.3895, allocations: 78.5 kB / 481.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.3901, allocations: 294.6 kB / 481.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.3932, allocations: 1.299 MB / 483.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.3974, allocations: 5.612 MB / 488.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.3978, allocations: 260.8 kB / 489 MB, free: 5.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.4004, allocations: 2.152 MB / 491.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.4028, allocations: 1.967 MB / 493.1 MB, free: 1.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.4033, allocations: 240 kB / 493.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.4066, allocations: 1.845 MB / 495.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.4078, allocations: 1.224 MB / 496.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.4098, allocations: 1.565 MB / 498 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004577/0.4144, allocations: 4.594 MB / 0.4908 GB, free: 7.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4144, allocations: 0 / 0.4908 GB, free: 7.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4144, allocations: 0 / 0.4908 GB, free: 7.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.604e-05/0.4145, allocations: 3.938 kB / 0.4908 GB, free: 7.707 MB / 398.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.008149/0.4226, allocations: 3.519 MB / 0.4942 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4227, allocations: 20.02 kB / 0.4942 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004778/0.4232, allocations: 366 kB / 0.4946 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.4249, allocations: 322.2 kB / 0.4949 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.4271, allocations: 1.324 MB / 0.4962 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4273, allocations: 184.9 kB / 0.4964 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/0.4276, allocations: 247.8 kB / 0.4966 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005497/0.4331, allocations: 3.819 MB / 0.5003 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.4332, allocations: 3.984 kB / 0.5003 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.4335, allocations: 112 kB / 0.5004 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.4336, allocations: 65.5 kB / 0.5005 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00794/0.4415, allocations: 5.986 MB / 0.5063 GB, free: 7.586 MB / 414.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.01758/0.4591, allocations: 11.23 MB / 0.5173 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006593/0.4657, allocations: 5.038 MB / 0.5222 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.469, allocations: 2.404 MB / 0.5246 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.4695, allocations: 435.3 kB / 0.525 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/0.4696, allocations: 98.56 kB / 0.5251 GB, free: 3.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.869e-06/0.4696, allocations: 0 / 0.5251 GB, free: 3.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009024/0.4786, allocations: 5.812 MB / 0.5308 GB, free: 13.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.4787, allocations: 94.41 kB / 0.5309 GB, free: 13.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4798, allocations: 0.8752 MB / 0.5317 GB, free: 12.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003179/0.4801, allocations: 97.7 kB / 0.5318 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.4804, allocations: 0.5227 MB / 0.5323 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.4814, allocations: 1.301 MB / 0.5336 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008498/0.4823, allocations: 0.6293 MB / 0.5342 GB, free: 10.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4824, allocations: 357.9 kB / 0.5345 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.485, allocations: 1.74 MB / 0.5362 GB, free: 7.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.488, allocations: 2.266 MB / 0.5385 GB, free: 5.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.4939, allocations: 4.325 MB / 0.5427 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.4939, allocations: 7.938 kB / 0.5427 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.134/0.6279, allocations: 4.587 MB / 0.5472 GB, free: 176.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.628, allocations: 10.11 kB / 0.5472 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.628, allocations: 10.81 kB / 0.5472 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.462e-05/0.628, allocations: 27.75 kB / 0.5472 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.6314, allocations: 0.7912 MB / 0.548 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.394e-05/0.6315, allocations: 38.41 kB / 0.548 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.6336, allocations: 354.4 kB / 0.5484 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.6339, allocations: 147.4 kB / 0.5485 GB, free: 176.6 MB / 446.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.001404/0.6353, allocations: 0.763 MB / 0.5492 GB, free: 176.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.6359, allocations: 209.5 kB / 0.5494 GB, free: 176.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008275/0.6441, allocations: 5.176 MB / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.6442, allocations: 45 kB / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6442, allocations: 3.703 kB / 0.5545 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/0.6442, allocations: 19.19 kB / 0.5546 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.6478, allocations: 2.818 MB / 0.5573 GB, free: 173.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6479, allocations: 3.906 kB / 0.5573 GB, free: 173.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/0.6508, allocations: 0.7286 MB / 0.558 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/0.6508, allocations: 15.53 kB / 0.558 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.651, allocations: 89.28 kB / 0.5581 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.651, allocations: 12.75 kB / 0.5581 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.651, allocations: 2.188 kB / 0.5581 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007846/0.6589, allocations: 7.226 MB / 0.5652 GB, free: 169.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.6592, allocations: 318 kB / 0.5655 GB, free: 168.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.6595, allocations: 87.83 kB / 0.5656 GB, free: 168.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/0.662, allocations: 222.3 kB / 0.5658 GB, free: 168.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/0.6625, allocations: 314.8 kB / 0.5661 GB, free: 168.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/0.6628, allocations: 183.6 kB / 0.5663 GB, free: 168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005786/0.6633, allocations: 0.6785 MB / 0.5669 GB, free: 167.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6633, allocations: 0 / 0.5669 GB, free: 167.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00185/0.6652, allocations: 1.088 MB / 0.568 GB, free: 166.3 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.008391/0.6736, allocations: 8.142 MB / 0.5759 GB, free: 158.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02091/0.6945, allocations: 15.28 MB / 0.5909 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6946, allocations: 5 kB / 0.5909 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.6969, allocations: 2.267 MB / 0.5931 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/0.7018, allocations: 1.254 MB / 0.5943 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/0.7287, allocations: 26.58 MB / 0.6203 GB, free: 111.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/0.7296, allocations: 1.852 MB / 0.6221 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004224/0.7339, allocations: 1.761 MB / 0.6238 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7351, allocations: 0.8898 MB / 0.6247 GB, free: 106.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.7351, allocations: 0 / 0.6247 GB, free: 106.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.439/4.175, allocations: 82.85 MB / 0.7056 GB, free: 23.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/19.07, allocations: 8.547 kB / 0.7056 GB, free: 23.69 MB / 446.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