Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_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.001591/0.001591, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.78 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09771, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3123/0.4101, allocations: 154.4 MB / 0.5 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.4121, allocations: 1.618 MB / 0.5016 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.4122, allocations: 0 / 0.5016 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.4126, allocations: 66.77 kB / 0.5017 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.413, allocations: 167.8 kB / 0.5018 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.4157, allocations: 1.033 MB / 0.5028 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.4161, allocations: 354.4 kB / 0.5032 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.4162, allocations: 13.55 kB / 0.5032 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.4165, allocations: 155.5 kB / 0.5033 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.4167, allocations: 131.5 kB / 0.5035 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.4168, allocations: 12 kB / 0.5035 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.4193, allocations: 1.588 MB / 0.505 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.4195, allocations: 79.77 kB / 0.5051 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.4196, allocations: 95.59 kB / 0.5052 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.4214, allocations: 1.037 MB / 0.5062 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4214, allocations: 0 / 0.5062 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4214, allocations: 0 / 0.5062 GB, free: 10.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4214, allocations: 0 / 0.5062 GB, free: 10.39 MB / 430.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.001807/0.4232, allocations: 0.6941 MB / 0.5069 GB, free: 9.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4233, allocations: 8.031 kB / 0.5069 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.4233, allocations: 58.67 kB / 0.5069 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.4235, allocations: 24.73 kB / 0.507 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.4238, allocations: 223.2 kB / 0.5072 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4238, allocations: 12.33 kB / 0.5072 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.4238, allocations: 16 kB / 0.5072 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.4244, allocations: 265.4 kB / 0.5075 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4244, allocations: 4 kB / 0.5075 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.4245, allocations: 7.844 kB / 0.5075 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4245, allocations: 8 kB / 0.5075 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.4252, allocations: 267.7 kB / 0.5077 GB, free: 8.715 MB / 430.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.001469/0.4266, allocations: 0.7945 MB / 0.5085 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.4273, allocations: 221.1 kB / 0.5087 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.4277, allocations: 141.6 kB / 0.5089 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.428, allocations: 352.4 kB / 0.5092 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4281, allocations: 46.55 kB / 0.5092 GB, free: 6.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.4281, allocations: 0 / 0.5092 GB, free: 6.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002538/0.4306, allocations: 0.6789 MB / 0.5099 GB, free: 6.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4307, allocations: 81.11 kB / 0.51 GB, free: 6.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4308, allocations: 144.5 kB / 0.5101 GB, free: 6.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4308, allocations: 29.7 kB / 0.5101 GB, free: 6.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.4309, allocations: 116.9 kB / 0.5103 GB, free: 5.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.431, allocations: 130 kB / 0.5104 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.4311, allocations: 69.64 kB / 0.5104 GB, free: 5.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.4312, allocations: 326.8 kB / 0.5108 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4316, allocations: 135.7 kB / 0.5109 GB, free: 5.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.4321, allocations: 211.5 kB / 0.5111 GB, free: 5.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.433, allocations: 363.4 kB / 0.5114 GB, free: 4.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.433, allocations: 0 / 0.5114 GB, free: 4.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001007/0.434, allocations: 416.6 kB / 0.5118 GB, free: 4.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4341, allocations: 8 kB / 0.5118 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4341, allocations: 0 / 0.5118 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4341, allocations: 4 kB / 0.5118 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.4346, allocations: 87.88 kB / 0.5119 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4346, allocations: 4.219 kB / 0.5119 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4349, allocations: 31.83 kB / 0.512 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.435, allocations: 19.98 kB / 0.512 GB, free: 4.07 MB / 430.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.0001446/0.4351, allocations: 146.8 kB / 0.5121 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.4352, allocations: 19.8 kB / 0.5121 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.4356, allocations: 174.1 kB / 0.5123 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4357, allocations: 4 kB / 0.5123 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4357, allocations: 0 / 0.5123 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4357, allocations: 7.922 kB / 0.5123 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.4374, allocations: 0.7712 MB / 0.5131 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4375, allocations: 4 kB / 0.5131 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4379, allocations: 79.88 kB / 0.5131 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4379, allocations: 4 kB / 0.5132 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.438, allocations: 8.75 kB / 0.5132 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.438, allocations: 7.984 kB / 0.5132 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.438, allocations: 0 / 0.5132 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.4395, allocations: 0.7141 MB / 0.5139 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.4396, allocations: 120.8 kB / 0.514 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.4397, allocations: 8 kB / 0.514 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.4401, allocations: 31.97 kB / 0.514 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.4401, allocations: 31.89 kB / 0.514 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.4402, allocations: 19.09 kB / 0.5141 GB, free: 1.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.4403, allocations: 105.8 kB / 0.5142 GB, free: 1.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4403, allocations: 0 / 0.5142 GB, free: 1.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006437/0.4409, allocations: 155.9 kB / 0.5143 GB, free: 1.535 MB / 430.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.002225/0.4432, allocations: 1.384 MB / 0.5157 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4442, allocations: 364.4 kB / 0.516 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4442, allocations: 0 / 0.516 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.4447, allocations: 183.6 kB / 0.5162 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.4454, allocations: 119.1 kB / 0.5163 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.4503, allocations: 2.891 MB / 0.5191 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4507, allocations: 0.7413 MB / 0.5199 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.4511, allocations: 78.22 kB / 0.5199 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4513, allocations: 71.41 kB / 0.52 GB, free: 11.51 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4513, allocations: 4 kB / 0.52 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4788, allocations: 8.511 MB / 0.5283 GB, free: 3.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.907, allocations: 3.844 kB / 0.5283 GB, free: 3.066 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.csv","/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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches