Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.007133/0.007133, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00167/0.00167, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.7 MB / 0.7453 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2588, allocations: 159.9 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6783/0.9371, allocations: 148 MB / 1.37 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.9422, allocations: 4.65 MB / 1.374 GB, free: 7.914 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.9424, allocations: 11.06 kB / 1.374 GB, free: 7.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.9429, allocations: 162.3 kB / 1.374 GB, free: 7.801 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.9432, allocations: 85.84 kB / 1.375 GB, free: 7.746 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.9433, allocations: 64.59 kB / 1.375 GB, free: 7.711 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.9437, allocations: 307.8 kB / 1.375 GB, free: 7.566 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.944, allocations: 148.4 kB / 1.375 GB, free: 7.504 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.9441, allocations: 114.8 kB / 1.375 GB, free: 7.449 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.9444, allocations: 154.9 kB / 1.375 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.9444, allocations: 15.62 kB / 1.375 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.9444, allocations: 15.84 kB / 1.375 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.9445, allocations: 61.84 kB / 1.375 GB, free: 7.352 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.9446, allocations: 109.6 kB / 1.376 GB, free: 7.281 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.9449, allocations: 243.5 kB / 1.376 GB, free: 7.176 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.9449, allocations: 0 / 1.376 GB, free: 7.176 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9449, allocations: 1.125 kB / 1.376 GB, free: 7.176 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9449, allocations: 1.125 kB / 1.376 GB, free: 7.176 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004648/0.9454, allocations: 495.5 kB / 1.376 GB, free: 6.723 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9454, allocations: 12.2 kB / 1.376 GB, free: 6.723 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.9455, allocations: 54.69 kB / 1.376 GB, free: 6.672 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.9455, allocations: 28.78 kB / 1.376 GB, free: 6.656 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.9459, allocations: 274.6 kB / 1.377 GB, free: 6.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.9459, allocations: 13.03 kB / 1.377 GB, free: 6.406 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.9459, allocations: 25.67 kB / 1.377 GB, free: 6.395 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.9463, allocations: 308.7 kB / 1.377 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9464, allocations: 1.375 kB / 1.377 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.9464, allocations: 11.66 kB / 1.377 GB, free: 6.148 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.9464, allocations: 14.38 kB / 1.377 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.9466, allocations: 123.1 kB / 1.377 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.9478, allocations: 1.969 MB / 1.379 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.9479, allocations: 169.1 kB / 1.379 GB, free: 4.074 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.9479, allocations: 81.61 kB / 1.379 GB, free: 3.992 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.948, allocations: 81.91 kB / 1.379 GB, free: 3.914 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.948, allocations: 105.8 kB / 1.379 GB, free: 3.801 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.948, allocations: 1.781 kB / 1.379 GB, free: 3.801 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.323e-05/0.9481, allocations: 56.34 kB / 1.379 GB, free: 3.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.9482, allocations: 126.7 kB / 1.38 GB, free: 3.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.9485, allocations: 333.7 kB / 1.38 GB, free: 3.441 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.9485, allocations: 26.8 kB / 1.38 GB, free: 3.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9486, allocations: 169.7 kB / 1.38 GB, free: 3.262 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.9486, allocations: 0 / 1.38 GB, free: 3.262 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.9487, allocations: 23.5 kB / 1.38 GB, free: 3.242 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9488, allocations: 334.6 kB / 1.38 GB, free: 2.918 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.9488, allocations: 5.125 kB / 1.38 GB, free: 2.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.9489, allocations: 59.03 kB / 1.38 GB, free: 2.848 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.949, allocations: 72.69 kB / 1.381 GB, free: 2.766 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.949, allocations: 0 / 1.381 GB, free: 2.766 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000171/0.9491, allocations: 107.2 kB / 1.381 GB, free: 2.699 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9492, allocations: 6.219 kB / 1.381 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.9492, allocations: 1.406 kB / 1.381 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9492, allocations: 6.938 kB / 1.381 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.9493, allocations: 18.14 kB / 1.381 GB, free: 2.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9493, allocations: 2.5 kB / 1.381 GB, free: 2.691 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.9494, allocations: 27.69 kB / 1.381 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.9494, allocations: 3.938 kB / 1.381 GB, free: 2.672 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001342/0.9495, allocations: 218.2 kB / 1.381 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.9496, allocations: 124.6 kB / 1.381 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.9497, allocations: 130.9 kB / 1.381 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/0.9497, allocations: 183.9 kB / 1.381 GB, free: 2.031 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.966e-05/0.9498, allocations: 182.1 kB / 1.382 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.965e-05/0.9498, allocations: 185.4 kB / 1.382 GB, free: 1.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.9501, allocations: 473.5 kB / 1.382 GB, free: 1.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.9502, allocations: 106 kB / 1.382 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.9502, allocations: 110.5 kB / 1.382 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-05/0.9503, allocations: 180.2 kB / 1.383 GB, free: 0.793 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.9503, allocations: 181.8 kB / 1.383 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.699e-05/0.9504, allocations: 183.3 kB / 1.383 GB, free: 436 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-05/0.9505, allocations: 185.6 kB / 1.383 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.9506, allocations: 331.6 kB / 1.383 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.9507, allocations: 207.6 kB / 1.384 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.9508, allocations: 183.4 kB / 1.384 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.9509, allocations: 106.3 kB / 1.384 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.951, allocations: 181.7 kB / 1.384 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.951, allocations: 111.5 kB / 1.384 GB, free: 15.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000228/0.9513, allocations: 236.7 kB / 1.384 GB, free: 14.97 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9513, allocations: 3.938 kB / 1.384 GB, free: 14.97 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002669/0.9515, allocations: 23.78 kB / 1.384 GB, free: 14.97 MB / 1.092 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.0003583/0.9519, allocations: 0.8322 MB / 1.385 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.952, allocations: 30.97 kB / 1.385 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.952, allocations: 1.281 kB / 1.385 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.952, allocations: 0 / 1.385 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.9527, allocations: 0.5211 MB / 1.386 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.9551, allocations: 2.499 MB / 1.388 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.9554, allocations: 0.7465 MB / 1.389 GB, free: 11.06 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.621e-05/0.9555, allocations: 25.61 kB / 1.389 GB, free: 11.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.9555, allocations: 65.94 kB / 1.389 GB, free: 11 MB / 1.092 GB Notification: Performance of SimCode: time 2.71e-07/0.9556, allocations: 0 / 1.389 GB, free: 11 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.9763, allocations: 4.804 MB / 1.394 GB, free: 8.645 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.657, allocations: 14.31 kB / 1.394 GB, free: 8.641 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches