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.001241/0.001241, allocations: 111.1 kB / 17.06 MB, free: 5.996 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.001213/0.001213, allocations: 193.4 kB / 18 MB, free: 5.074 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2248, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1654/0.3902, allocations: 151.4 MB / 0.5387 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2069/0.5972, allocations: 1.587 MB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.5974, allocations: 1.969 kB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.5977, allocations: 60.28 kB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.5981, allocations: 162.4 kB / 0.5405 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.6005, allocations: 1.017 MB / 0.5415 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.6009, allocations: 327.3 kB / 0.5418 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.6009, allocations: 10.2 kB / 0.5418 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.6012, allocations: 153.9 kB / 0.5419 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.6015, allocations: 121.9 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.6015, allocations: 12.41 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.6038, allocations: 1.588 MB / 0.5436 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.604, allocations: 72.02 kB / 0.5437 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.6041, allocations: 97.09 kB / 0.5438 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.6053, allocations: 0.9967 MB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6054, allocations: 2.953 kB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6054, allocations: 0 / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.6054, allocations: 1.938 kB / 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.001577/0.607, allocations: 0.6797 MB / 0.5454 GB, free: 17.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.607, allocations: 10.78 kB / 0.5454 GB, free: 17.15 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.6071, allocations: 50.16 kB / 0.5455 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.6072, allocations: 23.91 kB / 0.5455 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.6074, allocations: 220.2 kB / 0.5457 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.6074, allocations: 14.7 kB / 0.5457 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.6075, allocations: 20.3 kB / 0.5458 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.608, allocations: 257 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.608, allocations: 3.75 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.608, allocations: 7.719 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.608, allocations: 10.91 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.6086, allocations: 266.6 kB / 0.5463 GB, free: 16.84 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.001286/0.6099, allocations: 0.7938 MB / 0.5471 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.6105, allocations: 222.6 kB / 0.5473 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.6108, allocations: 136.2 kB / 0.5474 GB, free: 16.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.6111, allocations: 358 kB / 0.5477 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6111, allocations: 37.16 kB / 0.5478 GB, free: 15.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.6111, allocations: 0.8125 kB / 0.5478 GB, free: 15.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002572/0.6137, allocations: 0.6806 MB / 0.5484 GB, free: 15.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.6138, allocations: 87.48 kB / 0.5485 GB, free: 15.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6139, allocations: 120.4 kB / 0.5486 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.614, allocations: 36.61 kB / 0.5487 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.6141, allocations: 105.9 kB / 0.5488 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.6142, allocations: 131.8 kB / 0.5489 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.6144, allocations: 69.98 kB / 0.549 GB, free: 15.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6146, allocations: 327.1 kB / 0.5493 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.6151, allocations: 133.6 kB / 0.5494 GB, free: 15.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.6158, allocations: 214.2 kB / 0.5496 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.617, allocations: 360.2 kB / 0.55 GB, free: 14.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.617, allocations: 0 / 0.55 GB, free: 14.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00136/0.6184, allocations: 410.8 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6184, allocations: 5.281 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6184, allocations: 2.531 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6184, allocations: 5.062 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.619, allocations: 88.56 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.619, allocations: 8.688 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.6195, allocations: 28.75 kB / 0.5505 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.6195, allocations: 17.47 kB / 0.5505 GB, free: 14.84 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.0001914/0.6197, allocations: 143 kB / 0.5506 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6199, allocations: 19.66 kB / 0.5506 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.6203, allocations: 177.5 kB / 0.5508 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6203, allocations: 3.375 kB / 0.5508 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6204, allocations: 2.125 kB / 0.5508 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6204, allocations: 5.219 kB / 0.5508 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.6226, allocations: 0.7554 MB / 0.5516 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.6227, allocations: 2.938 kB / 0.5516 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.6233, allocations: 88.53 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6233, allocations: 2.875 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.6234, allocations: 13.75 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6234, allocations: 2.188 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6234, allocations: 3.438 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.6253, allocations: 0.7114 MB / 0.5524 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.6256, allocations: 121.6 kB / 0.5525 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.6256, allocations: 8.344 kB / 0.5525 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6262, allocations: 20.53 kB / 0.5525 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.6263, allocations: 33.78 kB / 0.5525 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-05/0.6263, allocations: 17 kB / 0.5526 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.6264, allocations: 90.8 kB / 0.5526 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6264, allocations: 1.75 kB / 0.5526 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009097/0.6273, allocations: 142.1 kB / 0.5528 GB, free: 13.84 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.002816/0.6302, allocations: 1.37 MB / 0.5541 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.6315, allocations: 355.2 kB / 0.5545 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6315, allocations: 0.9688 kB / 0.5545 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.6322, allocations: 182.8 kB / 0.5546 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6333, allocations: 96.89 kB / 0.5547 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/0.6398, allocations: 2.823 MB / 0.5575 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.6403, allocations: 0.733 MB / 0.5582 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005124/0.6409, allocations: 81.94 kB / 0.5583 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.6411, allocations: 67.89 kB / 0.5583 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6411, allocations: 0.875 kB / 0.5583 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.6712, allocations: 8.039 MB / 0.5662 GB, free: 10.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.725, allocations: 9.719 kB / 0.5662 GB, free: 10.03 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