Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.38 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08856, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1792/0.2678, allocations: 26.62 MB / 384.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2702, allocations: 2.257 MB / 386.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.2703, allocations: 0 / 386.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.2706, allocations: 62.41 kB / 386.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.271, allocations: 160.2 kB / 386.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.015/0.286, allocations: 6.514 MB / 393.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.2864, allocations: 334.2 kB / 393.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.2865, allocations: 17.5 kB / 393.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.2867, allocations: 138.6 kB / 393.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2869, allocations: 126.8 kB / 393.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.2869, allocations: 15.59 kB / 393.8 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/0.3026, allocations: 9.365 MB / 403.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3028, allocations: 66.98 kB / 403.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.303, allocations: 100.7 kB / 403.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.3132, allocations: 4.739 MB / 408.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3132, allocations: 3.938 kB / 408.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3133, allocations: 0 / 408.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3133, allocations: 0 / 408.1 MB, free: 8.973 MB / 318.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.002949/0.3162, allocations: 1.143 MB / 409.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3163, allocations: 8.031 kB / 409.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.3163, allocations: 51.61 kB / 409.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3165, allocations: 24.5 kB / 409.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3168, allocations: 226.7 kB / 409.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3168, allocations: 12.33 kB / 409.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3168, allocations: 16 kB / 409.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.3175, allocations: 285.4 kB / 409.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3176, allocations: 3.906 kB / 409.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3176, allocations: 11.98 kB / 409.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.3176, allocations: 7.938 kB / 409.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.3185, allocations: 312.8 kB / 410.2 MB, free: 6.785 MB / 318.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.001411/0.3199, allocations: 0.8416 MB / 411 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.3206, allocations: 257.6 kB / 411.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3209, allocations: 137.6 kB / 411.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/0.3364, allocations: 12.85 MB / 424.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3364, allocations: 38.56 kB / 424.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.3364, allocations: 0 / 424.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002944/0.3394, allocations: 0.7004 MB / 425 MB, free: 5.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3395, allocations: 85.11 kB / 425.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3396, allocations: 151.9 kB / 425.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3397, allocations: 33.7 kB / 425.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.3398, allocations: 108.8 kB / 425.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3399, allocations: 130.2 kB / 425.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.34, allocations: 69.64 kB / 425.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3401, allocations: 330.8 kB / 425.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.3405, allocations: 139.9 kB / 426 MB, free: 4.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.341, allocations: 203.6 kB / 426.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.342, allocations: 363.5 kB / 426.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.342, allocations: 0 / 426.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001198/0.3432, allocations: 424.3 kB / 427 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3433, allocations: 8 kB / 427 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3433, allocations: 0 / 427 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3433, allocations: 4 kB / 427 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.3438, allocations: 100 kB / 427.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3438, allocations: 3.938 kB / 427.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3441, allocations: 31.91 kB / 427.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3442, allocations: 16 kB / 427.1 MB, free: 3.074 MB / 334.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.0001392/0.3443, allocations: 145.6 kB / 427.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3445, allocations: 19.81 kB / 427.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.345, allocations: 193.4 kB / 427.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.345, allocations: 7.938 kB / 427.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.345, allocations: 0 / 427.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.345, allocations: 7.984 kB / 427.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3468, allocations: 0.7792 MB / 428.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3468, allocations: 4 kB / 428.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.3473, allocations: 79.88 kB / 428.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3473, allocations: 4 kB / 428.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3473, allocations: 8.156 kB / 428.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.3473, allocations: 8 kB / 428.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3473, allocations: 4 kB / 428.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3489, allocations: 0.7179 MB / 429.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3491, allocations: 124.9 kB / 429.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.3491, allocations: 8 kB / 429.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.3495, allocations: 15.98 kB / 429.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.3496, allocations: 31.91 kB / 429.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.3496, allocations: 15.98 kB / 429.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.3497, allocations: 114.2 kB / 429.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3497, allocations: 4.062 kB / 429.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002465/0.3522, allocations: 0.9487 MB / 430.4 MB, free: 15.71 MB / 350.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 (37): * Single equations (assignments): 37 * 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.006302/0.3585, allocations: 2.415 MB / 432.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3596, allocations: 371.8 kB / 433.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.3596, allocations: 0 / 433.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.3601, allocations: 180.5 kB / 433.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.3609, allocations: 107.8 kB / 433.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.3672, allocations: 3.212 MB / 436.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3676, allocations: 0.7413 MB / 437.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.368, allocations: 90.31 kB / 437.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3682, allocations: 75.41 kB / 437.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3682, allocations: 4 kB / 437.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09911/0.4673, allocations: 33.07 MB / 470.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/9.246, allocations: 14.81 kB / 470.6 MB, free: 7.293 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches