Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) 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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5089, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.168/0.677, allocations: 174 MB / 1.12 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.6861, allocations: 9.503 MB / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.6864, allocations: 11.94 kB / 1.129 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.6869, allocations: 194.7 kB / 1.129 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.6872, allocations: 95.31 kB / 1.129 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.6874, allocations: 59.92 kB / 1.129 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.6877, allocations: 314.8 kB / 1.13 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.688, allocations: 152.5 kB / 1.13 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.6883, allocations: 163.3 kB / 1.13 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.6884, allocations: 99.5 kB / 1.13 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.6885, allocations: 16 kB / 1.13 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.6885, allocations: 16 kB / 1.13 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.6886, allocations: 31.86 kB / 1.13 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.6886, allocations: 107.5 kB / 1.13 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.6888, allocations: 207.3 kB / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6888, allocations: 0 / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6889, allocations: 0 / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6889, allocations: 0 / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004131/0.6893, allocations: 474.9 kB / 1.131 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6893, allocations: 12.03 kB / 1.131 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.6894, allocations: 54.53 kB / 1.131 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.6894, allocations: 27.66 kB / 1.131 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.6897, allocations: 251.9 kB / 1.131 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6897, allocations: 20.44 kB / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.6897, allocations: 16 kB / 1.131 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.69, allocations: 227.8 kB / 1.131 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.6901, allocations: 4 kB / 1.131 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.6901, allocations: 15.94 kB / 1.131 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.6901, allocations: 4 kB / 1.131 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.6902, allocations: 91.78 kB / 1.131 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.6912, allocations: 1.433 MB / 1.133 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.6912, allocations: 165.1 kB / 1.133 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.6913, allocations: 84.14 kB / 1.133 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6913, allocations: 75.28 kB / 1.133 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6914, allocations: 106 kB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.6914, allocations: 7.938 kB / 1.133 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.6915, allocations: 53.38 kB / 1.133 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.6915, allocations: 134.7 kB / 1.133 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.6918, allocations: 290.9 kB / 1.134 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.6918, allocations: 25.7 kB / 1.134 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.6919, allocations: 139.9 kB / 1.134 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.6919, allocations: 0 / 1.134 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.692, allocations: 21.7 kB / 1.134 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6921, allocations: 338.8 kB / 1.134 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.6921, allocations: 3.984 kB / 1.134 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.6921, allocations: 27.44 kB / 1.134 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.6922, allocations: 39.38 kB / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6922, allocations: 0 / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/0.6923, allocations: 73.34 kB / 1.134 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6923, allocations: 4 kB / 1.134 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6923, allocations: 4.094 kB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6923, allocations: 7.922 kB / 1.134 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.6924, allocations: 4 kB / 1.134 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.6924, allocations: 8 kB / 1.134 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.6925, allocations: 23.81 kB / 1.134 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6925, allocations: 4 kB / 1.134 GB, free: 3.699 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001066/0.6926, allocations: 205 kB / 1.135 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.6927, allocations: 124.6 kB / 1.135 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.6927, allocations: 125.9 kB / 1.135 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/0.6928, allocations: 176.3 kB / 1.135 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.6929, allocations: 184.2 kB / 1.135 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/0.6929, allocations: 180.3 kB / 1.135 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.6932, allocations: 477 kB / 1.136 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.6933, allocations: 101 kB / 1.136 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.6933, allocations: 101 kB / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.775e-05/0.6934, allocations: 184.2 kB / 1.136 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.6935, allocations: 180.3 kB / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.6935, allocations: 184.2 kB / 1.137 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-05/0.6936, allocations: 184.3 kB / 1.137 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.6938, allocations: 323.5 kB / 1.137 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6939, allocations: 205.8 kB / 1.137 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.694, allocations: 184.1 kB / 1.137 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6941, allocations: 109 kB / 1.138 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.6942, allocations: 180.3 kB / 1.138 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.6942, allocations: 104.9 kB / 1.138 GB, free: 36 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002114/0.6944, allocations: 206 kB / 1.138 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6944, allocations: 4 kB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002641/0.6947, allocations: 23.94 kB / 1.138 GB, free: 15.81 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003622/0.6951, allocations: 0.8283 MB / 1.139 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.6952, allocations: 20.06 kB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6952, allocations: 0 / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6952, allocations: 0 / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.696, allocations: 0.5278 MB / 1.139 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.698, allocations: 2.237 MB / 1.142 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.6982, allocations: 0.7245 MB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.6983, allocations: 29.92 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.6984, allocations: 55.42 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.6984, allocations: 0 / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.7186, allocations: 4.605 MB / 1.147 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.663, allocations: 16.2 kB / 1.147 GB, free: 6.727 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches