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.007596/0.007596, allocations: 101.5 kB / 15.73 MB, free: 6.445 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.001964/0.001964, allocations: 193.9 kB / 16.67 MB, free: 6.355 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.311/2.311, allocations: 390.3 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.56 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.231, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1691/0.4001, allocations: 174 MB / 1.257 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5664/0.9665, allocations: 9.497 MB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.9668, allocations: 10.66 kB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.9674, allocations: 198.8 kB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.9677, allocations: 90.17 kB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.9678, allocations: 66.92 kB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.9682, allocations: 316.1 kB / 1.267 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.9685, allocations: 145.8 kB / 1.267 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.9688, allocations: 160.4 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.9689, allocations: 101.9 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.969, allocations: 15.47 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.969, allocations: 18.55 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.9691, allocations: 39.83 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.9692, allocations: 98.86 kB / 1.268 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.9695, allocations: 219.8 kB / 1.268 GB, free: 3.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.9695, allocations: 0.9062 kB / 1.268 GB, free: 3.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9695, allocations: 2.203 kB / 1.268 GB, free: 3.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9695, allocations: 0 / 1.268 GB, free: 3.172 MB / 1.014 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.0003935/0.9699, allocations: 484.1 kB / 1.269 GB, free: 2.762 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9699, allocations: 9.547 kB / 1.269 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.97, allocations: 53.11 kB / 1.269 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.97, allocations: 25.52 kB / 1.269 GB, free: 2.711 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.9704, allocations: 265.4 kB / 1.269 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9704, allocations: 16.25 kB / 1.269 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.9704, allocations: 19.66 kB / 1.269 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.9707, allocations: 232.8 kB / 1.269 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9707, allocations: 4.188 kB / 1.269 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.9708, allocations: 8.938 kB / 1.269 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.9708, allocations: 13.11 kB / 1.269 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.9709, allocations: 87.09 kB / 1.269 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.9718, allocations: 1.441 MB / 1.271 GB, free: 17.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.9719, allocations: 169.2 kB / 1.271 GB, free: 17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.972, allocations: 84.42 kB / 1.271 GB, free: 16.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.972, allocations: 76.81 kB / 1.271 GB, free: 16.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.972, allocations: 115.1 kB / 1.271 GB, free: 16.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.972, allocations: 1.062 kB / 1.271 GB, free: 16.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.149e-05/0.9721, allocations: 51.03 kB / 1.271 GB, free: 16.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.9722, allocations: 129.6 kB / 1.271 GB, free: 16.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.9725, allocations: 283.7 kB / 1.272 GB, free: 16.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.9725, allocations: 26.73 kB / 1.272 GB, free: 16.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.9726, allocations: 148.7 kB / 1.272 GB, free: 16.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.9726, allocations: 2.156 kB / 1.272 GB, free: 16.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.9726, allocations: 14.55 kB / 1.272 GB, free: 16.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9727, allocations: 335 kB / 1.272 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.9727, allocations: 1.375 kB / 1.272 GB, free: 15.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.9728, allocations: 39.3 kB / 1.272 GB, free: 15.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.9728, allocations: 30.44 kB / 1.272 GB, free: 15.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9728, allocations: 0.9375 kB / 1.272 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.973, allocations: 77.3 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.973, allocations: 11.16 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.973, allocations: 1.812 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.973, allocations: 8.625 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.9731, allocations: 7.156 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9731, allocations: 0.875 kB / 1.272 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.9731, allocations: 23.92 kB / 1.272 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.9732, allocations: 1.688 kB / 1.272 GB, free: 15.86 MB / 1.029 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.0001021/0.9733, allocations: 197.2 kB / 1.272 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.9733, allocations: 135.5 kB / 1.273 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.9734, allocations: 121.7 kB / 1.273 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/0.9735, allocations: 183.4 kB / 1.273 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-05/0.9735, allocations: 183.1 kB / 1.273 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.155e-05/0.9736, allocations: 181.7 kB / 1.273 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.9738, allocations: 467.3 kB / 1.274 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.9739, allocations: 106.7 kB / 1.274 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.9739, allocations: 103.7 kB / 1.274 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-05/0.974, allocations: 189.7 kB / 1.274 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.974, allocations: 180.7 kB / 1.274 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.161e-05/0.9741, allocations: 182.4 kB / 1.274 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.791e-05/0.9741, allocations: 178.9 kB / 1.275 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.9743, allocations: 328.1 kB / 1.275 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.9744, allocations: 210.5 kB / 1.275 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.9744, allocations: 179.8 kB / 1.275 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.9746, allocations: 106 kB / 1.275 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.9746, allocations: 179.3 kB / 1.275 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.9747, allocations: 106.8 kB / 1.276 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002092/0.9749, allocations: 207.7 kB / 1.276 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9749, allocations: 0.75 kB / 1.276 GB, free: 12.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000256/0.9751, allocations: 21.78 kB / 1.276 GB, free: 12.34 MB / 1.029 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.0003662/0.9755, allocations: 0.8375 MB / 1.277 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.9756, allocations: 16.81 kB / 1.277 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9756, allocations: 2.125 kB / 1.277 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.9756, allocations: 1.578 kB / 1.277 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.9764, allocations: 0.5246 MB / 1.277 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.9785, allocations: 2.222 MB / 1.279 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.9788, allocations: 0.7215 MB / 1.28 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.9789, allocations: 27.39 kB / 1.28 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.9789, allocations: 58.8 kB / 1.28 GB, free: 8.918 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.9789, allocations: 0 / 1.28 GB, free: 8.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/1, allocations: 4.688 MB / 1.285 GB, free: 8.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.464, allocations: 2.531 kB / 1.285 GB, free: 8.445 MB / 1.029 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