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.0009264/0.0009262, allocations: 95.45 kB / 17.3 MB, free: 6.391 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.001019/0.001019, allocations: 175.9 kB / 18.21 MB, free: 5.551 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.19/1.19, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004191/0.0004191, allocations: 12 kB / 281.5 MB, free: 3.336 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07336/0.07379, allocations: 47.57 MB / 329 MB, free: 3.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.283/0.3568, allocations: 149 MB / 478 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3584, allocations: 0.9813 MB / 479 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3586, allocations: 3 kB / 479 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.3589, allocations: 70.75 kB / 479.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.3595, allocations: 281.2 kB / 479.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.3624, allocations: 1.13 MB / 480.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.3682, allocations: 7.157 MB / 487.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3685, allocations: 260.6 kB / 487.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.3715, allocations: 1.901 MB / 489.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.3744, allocations: 1.951 MB / 491.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006351/0.375, allocations: 144 kB / 491.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.3785, allocations: 1.843 MB / 493.7 MB, free: 4.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.3796, allocations: 1.079 MB / 494.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.3815, allocations: 1.445 MB / 496.3 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.3861, allocations: 4.48 MB / 0.489 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3861, allocations: 4 kB / 0.489 GB, free: 13.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3861, allocations: 0 / 0.489 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.988e-05/0.3862, allocations: 0 / 0.489 GB, free: 13.81 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.007422/0.3936, allocations: 2.906 MB / 0.4919 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3937, allocations: 12.03 kB / 0.4919 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005867/0.3943, allocations: 370 kB / 0.4922 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.3959, allocations: 330.1 kB / 0.4925 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.3981, allocations: 1.324 MB / 0.4938 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3982, allocations: 176.9 kB / 0.494 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003973/0.3986, allocations: 247.9 kB / 0.4942 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005782/0.4044, allocations: 3.827 MB / 0.498 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.4045, allocations: 0 / 0.498 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.4048, allocations: 112 kB / 0.4981 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.4049, allocations: 63.94 kB / 0.4981 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008255/0.4131, allocations: 5.982 MB / 0.504 GB, free: 14.3 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.01744/0.4306, allocations: 11.19 MB / 0.5149 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006398/0.437, allocations: 5.046 MB / 0.5198 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.4401, allocations: 2.412 MB / 0.5222 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.4406, allocations: 435.3 kB / 0.5226 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/0.4407, allocations: 97.16 kB / 0.5227 GB, free: 10.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.779e-06/0.4407, allocations: 0 / 0.5227 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.008538/0.4493, allocations: 5.812 MB / 0.5284 GB, free: 4.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.4494, allocations: 94.41 kB / 0.5285 GB, free: 4.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.4504, allocations: 0.8674 MB / 0.5293 GB, free: 3.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003055/0.4507, allocations: 101.7 kB / 0.5294 GB, free: 3.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.451, allocations: 0.5227 MB / 0.5299 GB, free: 2.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009625/0.452, allocations: 1.301 MB / 0.5312 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.4524, allocations: 289.2 kB / 0.5315 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4525, allocations: 357.9 kB / 0.5318 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1353/0.5878, allocations: 1.74 MB / 0.5335 GB, free: 161.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.5912, allocations: 2.255 MB / 0.5357 GB, free: 160.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.597, allocations: 4.333 MB / 0.5399 GB, free: 159.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.5971, allocations: 4.375 kB / 0.54 GB, free: 159.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006574/0.6037, allocations: 4.587 MB / 0.5444 GB, free: 158.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.6037, allocations: 9.625 kB / 0.5444 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.6037, allocations: 12.38 kB / 0.5445 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.6038, allocations: 26.12 kB / 0.5445 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.6069, allocations: 0.7895 MB / 0.5452 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/0.6069, allocations: 40.53 kB / 0.5453 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.6091, allocations: 432.1 kB / 0.5457 GB, free: 157.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.6094, allocations: 142 kB / 0.5458 GB, free: 157.9 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.00108/0.6105, allocations: 0.7564 MB / 0.5466 GB, free: 157.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.6109, allocations: 208.4 kB / 0.5468 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006889/0.6178, allocations: 5.174 MB / 0.5518 GB, free: 155.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.6178, allocations: 43.75 kB / 0.5519 GB, free: 155.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.6179, allocations: 3.906 kB / 0.5519 GB, free: 155.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.6179, allocations: 20.77 kB / 0.5519 GB, free: 155.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.6214, allocations: 2.82 MB / 0.5546 GB, free: 152.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.6214, allocations: 0 / 0.5546 GB, free: 152.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/0.6244, allocations: 0.7294 MB / 0.5554 GB, free: 151.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.147e-05/0.6244, allocations: 12 kB / 0.5554 GB, free: 151.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.6246, allocations: 95.95 kB / 0.5555 GB, free: 151.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.6246, allocations: 13.31 kB / 0.5555 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6247, allocations: 8.625 kB / 0.5555 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/0.6327, allocations: 7.217 MB / 0.5625 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/0.6335, allocations: 357.4 kB / 0.5629 GB, free: 143.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.6338, allocations: 72 kB / 0.5629 GB, free: 143.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/0.6367, allocations: 302.9 kB / 0.5632 GB, free: 143.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004872/0.6372, allocations: 318.1 kB / 0.5635 GB, free: 143.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/0.6375, allocations: 177.5 kB / 0.5637 GB, free: 143 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006613/0.6381, allocations: 0.6824 MB / 0.5644 GB, free: 142.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6381, allocations: 0 / 0.5644 GB, free: 142.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002091/0.6402, allocations: 1.098 MB / 0.5654 GB, free: 141.2 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.008731/0.649, allocations: 8.14 MB / 0.5734 GB, free: 133.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.654, allocations: 4.281 MB / 0.5776 GB, free: 128.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.654, allocations: 5 kB / 0.5776 GB, free: 128.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.6563, allocations: 2.263 MB / 0.5798 GB, free: 126.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/0.6613, allocations: 1.223 MB / 0.581 GB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/0.6911, allocations: 27.81 MB / 0.6081 GB, free: 95.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.6921, allocations: 1.846 MB / 0.6099 GB, free: 94.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004796/0.6969, allocations: 1.768 MB / 0.6117 GB, free: 92.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.6983, allocations: 0.8858 MB / 0.6125 GB, free: 91.38 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6983, allocations: 4 kB / 0.6125 GB, free: 91.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9992/1.697, allocations: 79.2 MB / 0.6899 GB, free: 12.02 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.698, allocations: 243.7 kB / 0.6901 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/6.049, allocations: 0 / 0.6901 GB, free: 11.75 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