Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.004218/0.004218, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001559/0.001559, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.6691/0.9501, allocations: 148 MB / 1.386 GB, free: 8.562 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.9554, allocations: 4.643 MB / 1.39 GB, free: 4.859 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.9556, allocations: 15.16 kB / 1.391 GB, free: 4.852 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.9561, allocations: 164.5 kB / 1.391 GB, free: 4.707 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.9563, allocations: 82.92 kB / 1.391 GB, free: 4.641 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.9565, allocations: 59.55 kB / 1.391 GB, free: 4.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.9568, allocations: 298.2 kB / 1.391 GB, free: 4.418 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.9571, allocations: 105.7 kB / 1.391 GB, free: 4.352 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.9572, allocations: 100.6 kB / 1.391 GB, free: 4.297 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.9575, allocations: 141.1 kB / 1.391 GB, free: 4.215 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.9575, allocations: 14.12 kB / 1.391 GB, free: 4.211 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.546e-05/0.9575, allocations: 11.41 kB / 1.391 GB, free: 4.211 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.9575, allocations: 24.45 kB / 1.391 GB, free: 4.191 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.9576, allocations: 78.39 kB / 1.392 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.9578, allocations: 164.7 kB / 1.392 GB, free: 4.023 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9579, allocations: 1.469 kB / 1.392 GB, free: 4.023 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9579, allocations: 0 / 1.392 GB, free: 4.023 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.9579, allocations: 0 / 1.392 GB, free: 4.023 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000454/0.9583, allocations: 445.2 kB / 1.392 GB, free: 3.582 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.9584, allocations: 10.53 kB / 1.392 GB, free: 3.582 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.9584, allocations: 51.48 kB / 1.392 GB, free: 3.527 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.9585, allocations: 19.31 kB / 1.392 GB, free: 3.52 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.9588, allocations: 253 kB / 1.392 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9588, allocations: 10.12 kB / 1.392 GB, free: 3.258 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9589, allocations: 17.97 kB / 1.392 GB, free: 3.25 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.9592, allocations: 214 kB / 1.393 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9592, allocations: 5.188 kB / 1.393 GB, free: 3.043 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.9592, allocations: 10.47 kB / 1.393 GB, free: 3.035 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9592, allocations: 4.625 kB / 1.393 GB, free: 3.035 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.9593, allocations: 71.44 kB / 1.393 GB, free: 3 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.9605, allocations: 1.588 MB / 1.394 GB, free: 1.398 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.9606, allocations: 175.1 kB / 1.394 GB, free: 1.219 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.9606, allocations: 80.14 kB / 1.395 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.9606, allocations: 75.28 kB / 1.395 GB, free: 1.062 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.9607, allocations: 114.8 kB / 1.395 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9607, allocations: 0 / 1.395 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.198e-05/0.9608, allocations: 50.02 kB / 1.395 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.9609, allocations: 132 kB / 1.395 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.9611, allocations: 241.8 kB / 1.395 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.9612, allocations: 29.64 kB / 1.395 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.9613, allocations: 145 kB / 1.395 GB, free: 428 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.9613, allocations: 1.031 kB / 1.395 GB, free: 428 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.9613, allocations: 22.84 kB / 1.395 GB, free: 404 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9615, allocations: 331.7 kB / 1.396 GB, free: 68 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.9615, allocations: 7.5 kB / 1.396 GB, free: 64 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.9616, allocations: 40.7 kB / 1.396 GB, free: 8 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.9616, allocations: 69.53 kB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9617, allocations: 1.688 kB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001591/0.9618, allocations: 94.69 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9618, allocations: 5.031 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9618, allocations: 2.219 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.9619, allocations: 2.375 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.9619, allocations: 10.53 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9619, allocations: 10.55 kB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.962, allocations: 16.94 kB / 1.396 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.962, allocations: 3.438 kB / 1.396 GB, free: 15.84 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001253/0.9622, allocations: 207.8 kB / 1.396 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.9623, allocations: 121.7 kB / 1.396 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.9623, allocations: 124.5 kB / 1.396 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/0.9624, allocations: 181.6 kB / 1.396 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.9625, allocations: 180.2 kB / 1.397 GB, free: 15.03 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/0.9626, allocations: 185.4 kB / 1.397 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.9629, allocations: 458.8 kB / 1.397 GB, free: 14.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.963, allocations: 110 kB / 1.397 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.963, allocations: 102.1 kB / 1.397 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.9631, allocations: 181.6 kB / 1.398 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/0.9632, allocations: 177.3 kB / 1.398 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/0.9632, allocations: 185.2 kB / 1.398 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-05/0.9633, allocations: 181.3 kB / 1.398 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.9635, allocations: 327 kB / 1.398 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.9636, allocations: 202 kB / 1.399 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.9637, allocations: 181.4 kB / 1.399 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.9638, allocations: 109.7 kB / 1.399 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.9639, allocations: 177.4 kB / 1.399 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.964, allocations: 106.1 kB / 1.399 GB, free: 12.27 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001704/0.9641, allocations: 189 kB / 1.399 GB, free: 12.14 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9642, allocations: 0 / 1.399 GB, free: 12.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002559/0.9644, allocations: 19.22 kB / 1.399 GB, free: 12.14 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.0004375/0.9649, allocations: 0.8253 MB / 1.4 GB, free: 11.31 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.9649, allocations: 24.83 kB / 1.4 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9649, allocations: 448 / 1.4 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.965, allocations: 7.938 kB / 1.4 GB, free: 11.29 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.9656, allocations: 0.5031 MB / 1.401 GB, free: 10.81 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.9676, allocations: 2.046 MB / 1.403 GB, free: 9.055 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.968, allocations: 0.7142 MB / 1.403 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.9681, allocations: 15.02 kB / 1.403 GB, free: 8.336 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.9681, allocations: 43.08 kB / 1.404 GB, free: 8.301 MB / 1.107 GB Notification: Performance of SimCode: time 3.01e-07/0.9681, allocations: 4 kB / 1.404 GB, free: 8.297 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.992, allocations: 3.575 MB / 1.407 GB, free: 6.512 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.733, allocations: 5.062 kB / 1.407 GB, free: 6.508 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches