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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005369/0.005369, allocations: 99.34 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.001318/0.001318, allocations: 195.1 kB / 16.67 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.323/1.323, 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 11.1.0-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7105/0.9847, allocations: 148 MB / 1.364 GB, free: 1.305 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.9902, allocations: 4.653 MB / 1.369 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.9906, allocations: 11.25 kB / 1.369 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.9911, allocations: 167.2 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.9915, allocations: 84.7 kB / 1.369 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.9917, allocations: 68.66 kB / 1.369 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.9921, allocations: 300.1 kB / 1.369 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.9924, allocations: 142.2 kB / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.9927, allocations: 115.1 kB / 1.37 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.9929, allocations: 159.9 kB / 1.37 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.9929, allocations: 17.38 kB / 1.37 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.993, allocations: 14.47 kB / 1.37 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.9931, allocations: 65.88 kB / 1.37 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.9932, allocations: 102.3 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.9935, allocations: 240.9 kB / 1.37 GB, free: 13.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9935, allocations: 1.156 kB / 1.37 GB, free: 13.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9935, allocations: 0 / 1.37 GB, free: 13.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.9935, allocations: 4 kB / 1.37 GB, free: 13.23 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.0005051/0.994, allocations: 496.8 kB / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.9941, allocations: 9.5 kB / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.9941, allocations: 55.69 kB / 1.371 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.9942, allocations: 28.91 kB / 1.371 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.9946, allocations: 273.8 kB / 1.371 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.9946, allocations: 12.62 kB / 1.371 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.9946, allocations: 23.12 kB / 1.371 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.995, allocations: 308.4 kB / 1.371 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.9951, allocations: 5.469 kB / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.9951, allocations: 11.06 kB / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.9951, allocations: 7.406 kB / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.9953, allocations: 122.5 kB / 1.372 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.9966, allocations: 1.97 MB / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.9967, allocations: 174.2 kB / 1.374 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.9967, allocations: 80.14 kB / 1.374 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.9967, allocations: 76.44 kB / 1.374 GB, free: 9.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9968, allocations: 109.8 kB / 1.374 GB, free: 9.863 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.9968, allocations: 1.219 kB / 1.374 GB, free: 9.863 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.967e-05/0.9969, allocations: 55.23 kB / 1.374 GB, free: 9.816 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.997, allocations: 126.7 kB / 1.374 GB, free: 9.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.9973, allocations: 333 kB / 1.374 GB, free: 9.508 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.9973, allocations: 25.7 kB / 1.374 GB, free: 9.477 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.9974, allocations: 163.2 kB / 1.375 GB, free: 9.336 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.9975, allocations: 3.938 kB / 1.375 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.9975, allocations: 25.42 kB / 1.375 GB, free: 9.309 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9976, allocations: 335.7 kB / 1.375 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.9976, allocations: 9.953 kB / 1.375 GB, free: 8.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.9977, allocations: 57.72 kB / 1.375 GB, free: 8.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.9978, allocations: 73.72 kB / 1.375 GB, free: 8.828 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9978, allocations: 4 kB / 1.375 GB, free: 8.824 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001797/0.998, allocations: 101.9 kB / 1.375 GB, free: 8.762 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.998, allocations: 7.625 kB / 1.375 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.998, allocations: 1.719 kB / 1.375 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.998, allocations: 6.344 kB / 1.375 GB, free: 8.758 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.9981, allocations: 17.67 kB / 1.375 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.9981, allocations: 2.719 kB / 1.375 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.9982, allocations: 33.69 kB / 1.375 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.9982, allocations: 6.75 kB / 1.375 GB, free: 8.73 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.0001274/0.9984, allocations: 216.5 kB / 1.375 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.9984, allocations: 128.1 kB / 1.376 GB, free: 8.402 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.9985, allocations: 127.8 kB / 1.376 GB, free: 8.277 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/0.9986, allocations: 182.7 kB / 1.376 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.572e-05/0.9986, allocations: 185.6 kB / 1.376 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/0.9987, allocations: 185.6 kB / 1.376 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.999, allocations: 473.3 kB / 1.377 GB, free: 7.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/0.999, allocations: 102.5 kB / 1.377 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.9991, allocations: 108.5 kB / 1.377 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.716e-05/0.9991, allocations: 176.3 kB / 1.377 GB, free: 6.859 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.9992, allocations: 189.5 kB / 1.377 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.435e-05/0.9993, allocations: 179.6 kB / 1.377 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.235e-05/0.9993, allocations: 181.5 kB / 1.378 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.9995, allocations: 327.4 kB / 1.378 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.9996, allocations: 217.7 kB / 1.378 GB, free: 5.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.9997, allocations: 183.5 kB / 1.378 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.9998, allocations: 102.3 kB / 1.378 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.9998, allocations: 186.7 kB / 1.379 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.9999, allocations: 106.1 kB / 1.379 GB, free: 5.164 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002317/1, allocations: 235.2 kB / 1.379 GB, free: 5.039 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/1, allocations: 4 kB / 1.379 GB, free: 5.035 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002876/1, allocations: 24.28 kB / 1.379 GB, free: 5.035 MB / 1.076 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.0003571/1.001, allocations: 0.8336 MB / 1.38 GB, free: 4.211 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.013e-05/1.001, allocations: 34.19 kB / 1.38 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.001, allocations: 1.5 kB / 1.38 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.001, allocations: 0 / 1.38 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/1.002, allocations: 0.521 MB / 1.38 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.004, allocations: 2.515 MB / 1.383 GB, free: 1.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.004, allocations: 0.7438 MB / 1.383 GB, free: 1.207 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000101/1.004, allocations: 26.56 kB / 1.383 GB, free: 1.207 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/1.005, allocations: 61.59 kB / 1.384 GB, free: 1.16 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.005, allocations: 4 kB / 1.384 GB, free: 1.156 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/1.032, allocations: 4.807 MB / 1.388 GB, free: 15.04 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.605, allocations: 5.5 kB / 1.388 GB, free: 15.04 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