Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",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.001069/0.001069, allocations: 101.6 kB / 17.05 MB, free: 6.129 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.001012/0.001012, allocations: 195 kB / 18 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009862, allocations: 55.91 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2331, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1425/0.3756, allocations: 151.4 MB / 0.5387 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2207/0.5964, allocations: 1.584 MB / 0.5403 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.5965, allocations: 4.406 kB / 0.5403 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.5969, allocations: 61.72 kB / 0.5403 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.5973, allocations: 156.1 kB / 0.5405 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.5996, allocations: 1.015 MB / 0.5415 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.6001, allocations: 327 kB / 0.5418 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.6001, allocations: 11.95 kB / 0.5418 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.6004, allocations: 159 kB / 0.542 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.6006, allocations: 118 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.6007, allocations: 13.25 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.603, allocations: 1.588 MB / 0.5436 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6031, allocations: 70.98 kB / 0.5437 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.6032, allocations: 92.38 kB / 0.5438 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.6045, allocations: 0.9938 MB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6045, allocations: 1 kB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.6045, allocations: 3.188 kB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.6045, allocations: 0 / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001614/0.6061, allocations: 0.6751 MB / 0.5454 GB, free: 17.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.6062, allocations: 10.16 kB / 0.5454 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.6062, allocations: 52.78 kB / 0.5455 GB, free: 17.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.6064, allocations: 22.78 kB / 0.5455 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.6066, allocations: 212.1 kB / 0.5457 GB, free: 16.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6066, allocations: 11.98 kB / 0.5457 GB, free: 16.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.6066, allocations: 18 kB / 0.5457 GB, free: 16.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.6071, allocations: 262.4 kB / 0.546 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6072, allocations: 3.594 kB / 0.546 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.6072, allocations: 8.781 kB / 0.546 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6072, allocations: 8.875 kB / 0.546 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.6078, allocations: 258.2 kB / 0.5462 GB, free: 16.86 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.001325/0.6091, allocations: 0.7985 MB / 0.547 GB, free: 16.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.6097, allocations: 216.3 kB / 0.5472 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.6099, allocations: 140.6 kB / 0.5474 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.6103, allocations: 363.1 kB / 0.5477 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6103, allocations: 39.34 kB / 0.5477 GB, free: 15.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.6103, allocations: 0 / 0.5477 GB, free: 15.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002143/0.6125, allocations: 0.671 MB / 0.5484 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6125, allocations: 87.7 kB / 0.5485 GB, free: 15.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.6126, allocations: 122.5 kB / 0.5486 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.6127, allocations: 31.73 kB / 0.5486 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.6127, allocations: 109.3 kB / 0.5487 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.6128, allocations: 129.5 kB / 0.5489 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.6129, allocations: 67.53 kB / 0.5489 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.613, allocations: 329.9 kB / 0.5492 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.6133, allocations: 133.6 kB / 0.5494 GB, free: 15.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.6137, allocations: 211.9 kB / 0.5496 GB, free: 14.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.6143, allocations: 364.8 kB / 0.5499 GB, free: 14.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6143, allocations: 2.875 kB / 0.5499 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007906/0.6151, allocations: 404.7 kB / 0.5503 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6151, allocations: 4.844 kB / 0.5503 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6152, allocations: 3.281 kB / 0.5503 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6152, allocations: 3.469 kB / 0.5503 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.6156, allocations: 91.41 kB / 0.5504 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6157, allocations: 3.531 kB / 0.5504 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.616, allocations: 30.27 kB / 0.5504 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.616, allocations: 13.66 kB / 0.5505 GB, free: 14.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001275/0.6161, allocations: 146.1 kB / 0.5506 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.6162, allocations: 19.12 kB / 0.5506 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.6165, allocations: 177.3 kB / 0.5508 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.6165, allocations: 4.594 kB / 0.5508 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6166, allocations: 0.875 kB / 0.5508 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6166, allocations: 6.281 kB / 0.5508 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.618, allocations: 0.7542 MB / 0.5515 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.618, allocations: 4.125 kB / 0.5515 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.6184, allocations: 86.36 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6184, allocations: 2.469 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.6185, allocations: 10.88 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6185, allocations: 6.062 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6185, allocations: 7.094 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6196, allocations: 0.7086 MB / 0.5523 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6198, allocations: 121 kB / 0.5524 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6198, allocations: 19.05 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.6202, allocations: 25.23 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.6202, allocations: 23.91 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.6202, allocations: 14.78 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.6203, allocations: 96.11 kB / 0.5526 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6203, allocations: 1.906 kB / 0.5526 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.6209, allocations: 140 kB / 0.5528 GB, free: 13.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001653/0.6225, allocations: 1.361 MB / 0.5541 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.6233, allocations: 354.4 kB / 0.5544 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6233, allocations: 0.7188 kB / 0.5544 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.6236, allocations: 176.7 kB / 0.5546 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.6243, allocations: 98.88 kB / 0.5547 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.6281, allocations: 2.813 MB / 0.5574 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.6284, allocations: 0.7354 MB / 0.5581 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.6287, allocations: 73 kB / 0.5582 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.6289, allocations: 62.64 kB / 0.5583 GB, free: 10.75 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6289, allocations: 0 / 0.5583 GB, free: 10.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.6546, allocations: 8.132 MB / 0.5662 GB, free: 10.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.553, allocations: 9.359 kB / 0.5662 GB, free: 10.07 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches