Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.004452/0.004452, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.001302/0.001302, allocations: 194.7 kB / 16.68 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2733, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6896/0.9629, allocations: 174 MB / 1.39 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.9732, allocations: 9.513 MB / 1.399 GB, free: 5.574 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.9735, allocations: 10 kB / 1.399 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.974, allocations: 194.3 kB / 1.4 GB, free: 5.402 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.9742, allocations: 90.66 kB / 1.4 GB, free: 5.324 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.9744, allocations: 66.12 kB / 1.4 GB, free: 5.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.9748, allocations: 332.7 kB / 1.4 GB, free: 5.074 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.9752, allocations: 203.5 kB / 1.4 GB, free: 4.965 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.9755, allocations: 162.3 kB / 1.4 GB, free: 4.875 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.9757, allocations: 125.2 kB / 1.401 GB, free: 4.789 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.9757, allocations: 21.25 kB / 1.401 GB, free: 4.789 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.9758, allocations: 21.94 kB / 1.401 GB, free: 4.789 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.9759, allocations: 72.52 kB / 1.401 GB, free: 4.738 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.976, allocations: 137.4 kB / 1.401 GB, free: 4.645 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.9763, allocations: 291.9 kB / 1.401 GB, free: 4.434 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9764, allocations: 0 / 1.401 GB, free: 4.434 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.143e-06/0.9764, allocations: 1.156 kB / 1.401 GB, free: 4.434 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9764, allocations: 0 / 1.401 GB, free: 4.434 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005487/0.9769, allocations: 0.5161 MB / 1.402 GB, free: 3.938 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.977, allocations: 14.31 kB / 1.402 GB, free: 3.934 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.977, allocations: 62.81 kB / 1.402 GB, free: 3.871 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.9771, allocations: 34.72 kB / 1.402 GB, free: 3.852 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.9775, allocations: 281.2 kB / 1.402 GB, free: 3.574 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.9775, allocations: 18.97 kB / 1.402 GB, free: 3.562 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.9776, allocations: 29.84 kB / 1.402 GB, free: 3.551 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.978, allocations: 326.7 kB / 1.402 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.978, allocations: 1.344 kB / 1.402 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.9781, allocations: 14.31 kB / 1.402 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.9781, allocations: 8.219 kB / 1.402 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.9783, allocations: 147.3 kB / 1.403 GB, free: 3.203 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.9797, allocations: 1.814 MB / 1.404 GB, free: 1.449 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.9799, allocations: 170.2 kB / 1.404 GB, free: 1.273 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.9799, allocations: 81.17 kB / 1.405 GB, free: 1.191 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.9799, allocations: 79.22 kB / 1.405 GB, free: 1.113 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.98, allocations: 114.8 kB / 1.405 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.98, allocations: 0 / 1.405 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.9801, allocations: 54.45 kB / 1.405 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.9802, allocations: 127.7 kB / 1.405 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.9806, allocations: 376.6 kB / 1.405 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.9806, allocations: 25.7 kB / 1.405 GB, free: 0.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.9807, allocations: 166.9 kB / 1.405 GB, free: 400 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.9808, allocations: 4 kB / 1.405 GB, free: 396 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.9808, allocations: 25.84 kB / 1.405 GB, free: 368 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.981, allocations: 337.8 kB / 1.406 GB, free: 28 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.981, allocations: 2.875 kB / 1.406 GB, free: 28 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.981, allocations: 34.58 kB / 1.406 GB, free: 15.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.9811, allocations: 49.62 kB / 1.406 GB, free: 15.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9811, allocations: 0 / 1.406 GB, free: 15.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001525/0.9813, allocations: 92.14 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.9813, allocations: 5.844 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9813, allocations: 4.812 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.9813, allocations: 1.719 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.9814, allocations: 13.36 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.9814, allocations: 5 kB / 1.406 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.9815, allocations: 27.2 kB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.9815, allocations: 2.719 kB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000152/0.9816, allocations: 215.1 kB / 1.406 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.9817, allocations: 133.9 kB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.9818, allocations: 136.1 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.302e-05/0.9819, allocations: 181.5 kB / 1.407 GB, free: 15.19 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-05/0.982, allocations: 181.5 kB / 1.407 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/0.9821, allocations: 181.4 kB / 1.407 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.9824, allocations: 486.8 kB / 1.407 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-05/0.9825, allocations: 118.2 kB / 1.408 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.9825, allocations: 106.4 kB / 1.408 GB, free: 14.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-05/0.9826, allocations: 180.3 kB / 1.408 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/0.9827, allocations: 187.1 kB / 1.408 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.9828, allocations: 177.4 kB / 1.408 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.627e-05/0.9829, allocations: 177.4 kB / 1.408 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.9831, allocations: 339.5 kB / 1.409 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.9832, allocations: 213.8 kB / 1.409 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.9833, allocations: 177.7 kB / 1.409 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.9834, allocations: 102.4 kB / 1.409 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.9835, allocations: 188.2 kB / 1.409 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.9836, allocations: 106.2 kB / 1.409 GB, free: 12.21 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002801/0.9839, allocations: 267 kB / 1.41 GB, free: 12.04 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9839, allocations: 0 / 1.41 GB, free: 12.04 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002647/0.9841, allocations: 32.06 kB / 1.41 GB, free: 12.04 MB / 1.107 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.0004638/0.9846, allocations: 0.843 MB / 1.411 GB, free: 11.2 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 6.525e-05/0.9847, allocations: 16.97 kB / 1.411 GB, free: 11.19 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9847, allocations: 0 / 1.411 GB, free: 11.19 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.9847, allocations: 1.156 kB / 1.411 GB, free: 11.19 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.9855, allocations: 0.5535 MB / 1.411 GB, free: 10.69 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.9884, allocations: 2.699 MB / 1.414 GB, free: 8.652 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.9888, allocations: 0.755 MB / 1.414 GB, free: 7.918 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 9.672e-05/0.9889, allocations: 36.8 kB / 1.414 GB, free: 7.902 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.989, allocations: 75.66 kB / 1.415 GB, free: 7.84 MB / 1.107 GB Notification: Performance of SimCode: time 2.6e-07/0.989, allocations: 0 / 1.415 GB, free: 7.84 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/1.015, allocations: 5.908 MB / 1.42 GB, free: 4.945 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.88, allocations: 13.69 kB / 1.42 GB, free: 4.938 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches