Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_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.00166/0.00166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 59.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5218, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1631/0.6849, allocations: 174 MB / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009193/0.6941, allocations: 9.514 MB / 1.197 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.6945, allocations: 11.94 kB / 1.197 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.6952, allocations: 190.7 kB / 1.197 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.6955, allocations: 95.31 kB / 1.197 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.6957, allocations: 63.92 kB / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.6961, allocations: 330.6 kB / 1.197 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.6964, allocations: 216.7 kB / 1.198 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.6968, allocations: 159.4 kB / 1.198 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.697, allocations: 131.4 kB / 1.198 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.697, allocations: 20 kB / 1.198 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.6971, allocations: 24 kB / 1.198 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.6971, allocations: 75.75 kB / 1.198 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.6973, allocations: 123.4 kB / 1.198 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.6975, allocations: 287 kB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6976, allocations: 0 / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6976, allocations: 0 / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.6976, allocations: 0 / 1.198 GB, free: 8.539 MB / 0.9512 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.0004984/0.6981, allocations: 0.5029 MB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6981, allocations: 16.03 kB / 1.199 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.6982, allocations: 58.55 kB / 1.199 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.6983, allocations: 31.66 kB / 1.199 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.6986, allocations: 278.2 kB / 1.199 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6986, allocations: 16.56 kB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.6986, allocations: 28 kB / 1.199 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.6991, allocations: 324 kB / 1.2 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6991, allocations: 3.938 kB / 1.2 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.6991, allocations: 12 kB / 1.2 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6991, allocations: 11.94 kB / 1.2 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.6993, allocations: 135.8 kB / 1.2 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.7005, allocations: 1.82 MB / 1.201 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.7006, allocations: 169.1 kB / 1.202 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.7006, allocations: 84.08 kB / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.7007, allocations: 75.31 kB / 1.202 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.7007, allocations: 117.8 kB / 1.202 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7007, allocations: 0 / 1.202 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.575e-05/0.7008, allocations: 57.33 kB / 1.202 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.7009, allocations: 126.7 kB / 1.202 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.7013, allocations: 369.7 kB / 1.202 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.7013, allocations: 25.7 kB / 1.202 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7014, allocations: 179.7 kB / 1.203 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.7014, allocations: 0 / 1.203 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.7014, allocations: 17.72 kB / 1.203 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7016, allocations: 338.8 kB / 1.203 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.7016, allocations: 8 kB / 1.203 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.7016, allocations: 32.28 kB / 1.203 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.7017, allocations: 48.17 kB / 1.203 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7017, allocations: 0 / 1.203 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001512/0.7018, allocations: 89.41 kB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7019, allocations: 4 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7019, allocations: 8 kB / 1.203 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7019, allocations: 4.156 kB / 1.203 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.702, allocations: 15.88 kB / 1.203 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.702, allocations: 0 / 1.203 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.7021, allocations: 31.58 kB / 1.203 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.7021, allocations: 4 kB / 1.203 GB, free: 3.199 MB / 0.9512 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.0001176/0.7022, allocations: 205.1 kB / 1.203 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.7023, allocations: 136.6 kB / 1.204 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.7024, allocations: 134.9 kB / 1.204 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-05/0.7024, allocations: 176.3 kB / 1.204 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-05/0.7025, allocations: 180.3 kB / 1.204 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.382e-05/0.7025, allocations: 188.2 kB / 1.204 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.7028, allocations: 497 kB / 1.205 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.7029, allocations: 101 kB / 1.205 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.7029, allocations: 109 kB / 1.205 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.003e-05/0.703, allocations: 180.2 kB / 1.205 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.703, allocations: 176.3 kB / 1.205 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.026e-05/0.7031, allocations: 180.2 kB / 1.205 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.167e-05/0.7031, allocations: 188.2 kB / 1.206 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.7033, allocations: 335.3 kB / 1.206 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.7034, allocations: 209.8 kB / 1.206 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.7035, allocations: 180.2 kB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.7036, allocations: 105.3 kB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.7036, allocations: 180.3 kB / 1.206 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.7037, allocations: 112.9 kB / 1.207 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000247/0.7039, allocations: 267.2 kB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7039, allocations: 0 / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002646/0.7042, allocations: 35.94 kB / 1.207 GB, free: 15.18 MB / 0.9669 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.0003416/0.7045, allocations: 0.8357 MB / 1.208 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.704e-05/0.7046, allocations: 19.94 kB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7046, allocations: 0 / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.7046, allocations: 0 / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.7054, allocations: 0.5633 MB / 1.208 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.7079, allocations: 2.703 MB / 1.211 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.7082, allocations: 0.7519 MB / 1.212 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.7083, allocations: 34.97 kB / 1.212 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.138e-05/0.7084, allocations: 75.41 kB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.7084, allocations: 3.938 kB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.7288, allocations: 5.83 MB / 1.217 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/8.186, allocations: 7.562 kB / 1.217 GB, free: 4.344 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches