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.001509/0.001509, allocations: 113.5 kB / 17.28 MB, free: 6.047 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.001577/0.001577, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.262/1.262, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001147/0.001147, allocations: 44.16 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07495/0.0761, allocations: 46.62 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.285/0.3611, allocations: 151 MB / 477.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3628, allocations: 0.9573 MB / 478.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3629, allocations: 0 / 478.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.3633, allocations: 75.62 kB / 478.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007063/0.364, allocations: 274.9 kB / 479.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.367, allocations: 1.184 MB / 480.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004591/0.3716, allocations: 5.616 MB / 486 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.3719, allocations: 267.5 kB / 486.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.3747, allocations: 2.245 MB / 488.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.3775, allocations: 2.092 MB / 490.6 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.378, allocations: 236 kB / 490.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.3814, allocations: 1.895 MB / 492.7 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.3826, allocations: 1.224 MB / 493.9 MB, free: 432 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.385, allocations: 1.557 MB / 495.5 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.39, allocations: 4.632 MB / 0.4884 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.39, allocations: 0 / 0.4884 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.39, allocations: 0 / 0.4884 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.011e-05/0.39, allocations: 0 / 0.4884 GB, free: 10.21 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.008797/0.3988, allocations: 3.519 MB / 0.4918 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3989, allocations: 12.03 kB / 0.4918 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004827/0.3994, allocations: 370 kB / 0.4922 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.4012, allocations: 326.2 kB / 0.4925 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.4034, allocations: 1.327 MB / 0.4938 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.4035, allocations: 180.9 kB / 0.494 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.404, allocations: 243.9 kB / 0.4942 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/0.41, allocations: 3.823 MB / 0.4979 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.41, allocations: 0 / 0.4979 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.4103, allocations: 116 kB / 0.498 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.4104, allocations: 60 kB / 0.4981 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008107/0.4185, allocations: 5.982 MB / 0.5039 GB, free: 10.1 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.01771/0.4362, allocations: 11.18 MB / 0.5149 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/0.4429, allocations: 5.046 MB / 0.5198 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/0.4462, allocations: 2.404 MB / 0.5221 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.4468, allocations: 435.3 kB / 0.5226 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.665e-05/0.4469, allocations: 94.62 kB / 0.5226 GB, free: 5.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.719e-06/0.4469, allocations: 7.938 kB / 0.5226 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009137/0.4561, allocations: 5.808 MB / 0.5283 GB, free: 152 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.4562, allocations: 94.41 kB / 0.5284 GB, free: 44 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.124/0.5802, allocations: 0.869 MB / 0.5293 GB, free: 164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000805/0.581, allocations: 102.2 kB / 0.5294 GB, free: 164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5813, allocations: 0.5225 MB / 0.5299 GB, free: 163.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.5824, allocations: 1.302 MB / 0.5311 GB, free: 162.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.5834, allocations: 0.6285 MB / 0.5318 GB, free: 162.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5836, allocations: 360.4 kB / 0.5321 GB, free: 162.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/0.5863, allocations: 1.741 MB / 0.5338 GB, free: 161.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.5894, allocations: 2.261 MB / 0.536 GB, free: 160.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.595, allocations: 4.337 MB / 0.5402 GB, free: 159.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.595, allocations: 3.219 kB / 0.5402 GB, free: 159.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006289/0.6013, allocations: 4.577 MB / 0.5447 GB, free: 157.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.6014, allocations: 11.47 kB / 0.5447 GB, free: 157.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.6014, allocations: 15.41 kB / 0.5447 GB, free: 157.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.6014, allocations: 30.83 kB / 0.5448 GB, free: 157.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.6047, allocations: 0.7838 MB / 0.5455 GB, free: 157.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.6047, allocations: 45.36 kB / 0.5456 GB, free: 157.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.607, allocations: 424.9 kB / 0.546 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.6073, allocations: 145.3 kB / 0.5461 GB, free: 157.5 MB / 430.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.0009956/0.6083, allocations: 0.7601 MB / 0.5469 GB, free: 157 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.6087, allocations: 211.4 kB / 0.5471 GB, free: 156.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006796/0.6155, allocations: 5.169 MB / 0.5521 GB, free: 152.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.6155, allocations: 43.56 kB / 0.5522 GB, free: 152.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.6156, allocations: 0 / 0.5522 GB, free: 152.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.6156, allocations: 23.83 kB / 0.5522 GB, free: 152.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.6191, allocations: 2.811 MB / 0.5549 GB, free: 149.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.6191, allocations: 0 / 0.5549 GB, free: 149.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/0.6222, allocations: 0.7293 MB / 0.5556 GB, free: 148.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.6222, allocations: 16 kB / 0.5556 GB, free: 148.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.6224, allocations: 95.89 kB / 0.5557 GB, free: 148.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.6224, allocations: 12 kB / 0.5558 GB, free: 148.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6224, allocations: 3.938 kB / 0.5558 GB, free: 148.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007815/0.6302, allocations: 7.217 MB / 0.5628 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.6305, allocations: 317.9 kB / 0.5631 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.6309, allocations: 91.72 kB / 0.5632 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/0.6335, allocations: 293.8 kB / 0.5635 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/0.634, allocations: 312.5 kB / 0.5638 GB, free: 140.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/0.6343, allocations: 180.4 kB / 0.5639 GB, free: 140 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006202/0.6349, allocations: 0.6863 MB / 0.5646 GB, free: 139.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.635, allocations: 4 kB / 0.5646 GB, free: 139.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001843/0.6368, allocations: 1.084 MB / 0.5657 GB, free: 138.3 MB / 430.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.008865/0.6457, allocations: 8.132 MB / 0.5736 GB, free: 130.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02201/0.6677, allocations: 15.28 MB / 0.5885 GB, free: 114.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6677, allocations: 5 kB / 0.5885 GB, free: 114.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.6703, allocations: 2.263 MB / 0.5908 GB, free: 112.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/0.6753, allocations: 1.259 MB / 0.592 GB, free: 111.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/0.7053, allocations: 27.48 MB / 0.6188 GB, free: 82.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.7062, allocations: 1.844 MB / 0.6206 GB, free: 80.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004751/0.711, allocations: 1.756 MB / 0.6223 GB, free: 78.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.7123, allocations: 0.8898 MB / 0.6232 GB, free: 77.83 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/0.7123, allocations: 0 / 0.6232 GB, free: 77.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6307/1.343, allocations: 82.22 MB / 0.7035 GB, free: 153.1 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/1.343, allocations: 239.4 kB / 0.7037 GB, free: 152.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.817/6.16, allocations: 0 / 0.7037 GB, free: 152.9 MB / 430.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","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches