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.001079/0.001079, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001037/0.001037, allocations: 187 kB / 18.66 MB, free: 4.395 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.274/1.274, 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.001133/0.001133, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.08176, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3137/0.3955, allocations: 153.1 MB / 0.5154 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3971, allocations: 0.9406 MB / 0.5163 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.3973, allocations: 4 kB / 0.5163 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.3977, allocations: 79.5 kB / 0.5164 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.3983, allocations: 294.6 kB / 0.5167 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.4019, allocations: 1.31 MB / 0.518 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004573/0.4064, allocations: 5.601 MB / 0.5234 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.4069, allocations: 257.5 kB / 0.5237 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.4105, allocations: 2.226 MB / 0.5258 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.4139, allocations: 1.971 MB / 0.5278 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.4149, allocations: 236 kB / 0.528 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.4194, allocations: 1.934 MB / 0.5299 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.4214, allocations: 1.224 MB / 0.5311 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003179/0.4245, allocations: 1.565 MB / 0.5326 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00629/0.4309, allocations: 4.632 MB / 0.5371 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4309, allocations: 0 / 0.5371 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4309, allocations: 0 / 0.5371 GB, free: 15.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001197/0.431, allocations: 0 / 0.5371 GB, free: 15.91 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.009791/0.4408, allocations: 3.515 MB / 0.5406 GB, free: 12.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4409, allocations: 8.031 kB / 0.5406 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000519/0.4414, allocations: 377.9 kB / 0.5409 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.4432, allocations: 318.2 kB / 0.5412 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.4456, allocations: 1.345 MB / 0.5425 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.4457, allocations: 184.9 kB / 0.5427 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.4461, allocations: 244 kB / 0.543 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/0.4518, allocations: 3.819 MB / 0.5467 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.4519, allocations: 3.938 kB / 0.5467 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.4522, allocations: 116 kB / 0.5468 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.4523, allocations: 56 kB / 0.5469 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1842/0.6365, 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.02087/0.6574, allocations: 11.21 MB / 0.5636 GB, free: 159.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.6641, allocations: 5.044 MB / 0.5686 GB, free: 157.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.6673, allocations: 2.406 MB / 0.5709 GB, free: 156.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.6678, allocations: 440.6 kB / 0.5713 GB, free: 156.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.226e-05/0.6679, allocations: 97.78 kB / 0.5714 GB, free: 156.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.831e-06/0.6679, allocations: 0 / 0.5714 GB, free: 156.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008561/0.6764, allocations: 5.812 MB / 0.5771 GB, free: 154 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.6765, allocations: 91.59 kB / 0.5772 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.6775, allocations: 0.8736 MB / 0.578 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/0.678, allocations: 99.48 kB / 0.5781 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.6782, allocations: 0.5225 MB / 0.5787 GB, free: 152.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007525/0.679, allocations: 1.299 MB / 0.5799 GB, free: 151.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.6797, allocations: 0.6291 MB / 0.5805 GB, free: 151.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.6798, allocations: 358.9 kB / 0.5809 GB, free: 151.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.6819, allocations: 1.743 MB / 0.5826 GB, free: 150.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.6842, allocations: 2.26 MB / 0.5848 GB, free: 148.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/0.6888, allocations: 4.328 MB / 0.589 GB, free: 145.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.6888, allocations: 4 kB / 0.589 GB, free: 145.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005549/0.6944, allocations: 4.596 MB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6944, allocations: 12 kB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.6944, allocations: 8 kB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/0.6945, allocations: 28 kB / 0.5936 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.6976, allocations: 0.7923 MB / 0.5943 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.74e-05/0.6977, allocations: 37.81 kB / 0.5944 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.6997, allocations: 356.6 kB / 0.5947 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.7, allocations: 144.8 kB / 0.5948 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.001194/0.7012, allocations: 0.7582 MB / 0.5956 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.7017, allocations: 217.7 kB / 0.5958 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/0.7083, allocations: 5.163 MB / 0.6008 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.7084, allocations: 40 kB / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7084, allocations: 0 / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.7084, allocations: 23.91 kB / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.712, allocations: 2.819 MB / 0.6036 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.7121, allocations: 4.672 kB / 0.6036 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/0.7151, allocations: 0.7332 MB / 0.6044 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/0.7151, allocations: 19.98 kB / 0.6044 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.7153, allocations: 91.97 kB / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.7154, allocations: 16 kB / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7154, allocations: 0.5 kB / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008096/0.7235, allocations: 7.214 MB / 0.6115 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.724, allocations: 321.9 kB / 0.6118 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.7243, allocations: 83.83 kB / 0.6119 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/0.7269, allocations: 224.4 kB / 0.6121 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.7273, allocations: 310.9 kB / 0.6124 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/0.7276, allocations: 179.9 kB / 0.6126 GB, free: 120.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006203/0.7282, allocations: 0.6863 MB / 0.6133 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7282, allocations: 0 / 0.6133 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00187/0.7301, allocations: 1.084 MB / 0.6143 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.008676/0.7388, allocations: 8.155 MB / 0.6223 GB, free: 111 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.7439, allocations: 4.301 MB / 0.6265 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.7439, allocations: 9 kB / 0.6265 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.7463, allocations: 2.268 MB / 0.6287 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.004588/0.7509, allocations: 1.234 MB / 0.6299 GB, free: 103.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/0.7779, allocations: 24.57 MB / 0.6539 GB, free: 78.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.7788, allocations: 1.849 MB / 0.6557 GB, free: 76.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003911/0.7827, allocations: 1.779 MB / 0.6575 GB, free: 74.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.784, allocations: 0.8858 MB / 0.6583 GB, free: 73.47 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.784, allocations: 0 / 0.6583 GB, free: 73.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2643/1.048, allocations: 84.87 MB / 0.7412 GB, free: 152.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.97, allocations: 1.844 kB / 0.7412 GB, free: 152.3 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