Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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.007739/0.007739, allocations: 107 kB / 15.74 MB, free: 6.043 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.001935/0.001935, allocations: 199 kB / 16.68 MB, free: 5.957 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6359, allocations: 140.4 MB / 1.088 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1562/0.7922, allocations: 148 MB / 1.232 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005015/0.7972, allocations: 4.657 MB / 1.237 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.7976, allocations: 10.03 kB / 1.237 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.7981, allocations: 160.8 kB / 1.237 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.7985, allocations: 86.5 kB / 1.237 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7987, allocations: 60.89 kB / 1.237 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.7992, allocations: 306.2 kB / 1.237 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.7995, allocations: 145 kB / 1.237 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.7997, allocations: 122.1 kB / 1.237 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.7999, allocations: 146.2 kB / 1.238 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.7999, allocations: 17.03 kB / 1.238 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.8, allocations: 23.09 kB / 1.238 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.8001, allocations: 60.36 kB / 1.238 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.8002, allocations: 105.7 kB / 1.238 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.8005, allocations: 241.2 kB / 1.238 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8005, allocations: 0 / 1.238 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8005, allocations: 1.094 kB / 1.238 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8005, allocations: 4 kB / 1.238 GB, free: 1.84 MB / 0.9669 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.0004512/0.8009, allocations: 493.8 kB / 1.238 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.801, allocations: 9.625 kB / 1.238 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.8011, allocations: 54.98 kB / 1.239 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.8011, allocations: 25.03 kB / 1.239 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.8015, allocations: 273 kB / 1.239 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.8015, allocations: 12.72 kB / 1.239 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8016, allocations: 23.09 kB / 1.239 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.802, allocations: 298.1 kB / 1.239 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.802, allocations: 9.109 kB / 1.239 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.802, allocations: 11.47 kB / 1.239 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.802, allocations: 7.219 kB / 1.239 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.8023, allocations: 129.1 kB / 1.239 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.8036, allocations: 1.964 MB / 1.241 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.8036, allocations: 174.5 kB / 1.241 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.8037, allocations: 80.14 kB / 1.241 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.8037, allocations: 76.53 kB / 1.242 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.8038, allocations: 113.9 kB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8038, allocations: 0 / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.139e-05/0.8039, allocations: 57.66 kB / 1.242 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.8039, allocations: 126.7 kB / 1.242 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.8042, allocations: 331.4 kB / 1.242 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.8043, allocations: 25.7 kB / 1.242 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.8044, allocations: 165.4 kB / 1.242 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8044, allocations: 3.828 kB / 1.242 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.8044, allocations: 28.5 kB / 1.242 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8045, allocations: 336.3 kB / 1.243 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.8046, allocations: 4.125 kB / 1.243 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.8046, allocations: 55.11 kB / 1.243 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.8047, allocations: 72.5 kB / 1.243 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8047, allocations: 4 kB / 1.243 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001596/0.8049, allocations: 101.1 kB / 1.243 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8049, allocations: 5.5 kB / 1.243 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8049, allocations: 14.56 kB / 1.243 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.8049, allocations: 1.375 kB / 1.243 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.805, allocations: 16.36 kB / 1.243 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.805, allocations: 3 kB / 1.243 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.8051, allocations: 30.56 kB / 1.243 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.8051, allocations: 8.109 kB / 1.243 GB, free: 13.07 MB / 0.9825 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.0001138/0.8052, allocations: 209.4 kB / 1.243 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.8053, allocations: 129.1 kB / 1.243 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.8054, allocations: 126.2 kB / 1.243 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.8054, allocations: 181.6 kB / 1.244 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.997e-05/0.8055, allocations: 181.6 kB / 1.244 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-05/0.8055, allocations: 184.2 kB / 1.244 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.8058, allocations: 475.4 kB / 1.244 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.8059, allocations: 102.4 kB / 1.244 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.8059, allocations: 104.9 kB / 1.245 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.808e-05/0.806, allocations: 181.6 kB / 1.245 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.806, allocations: 189.5 kB / 1.245 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.198e-05/0.8061, allocations: 181.6 kB / 1.245 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.141e-05/0.8061, allocations: 176.3 kB / 1.245 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.8063, allocations: 329.2 kB / 1.246 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.8064, allocations: 210 kB / 1.246 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.8065, allocations: 185.6 kB / 1.246 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.8066, allocations: 102.4 kB / 1.246 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.8066, allocations: 185.9 kB / 1.246 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.8067, allocations: 105 kB / 1.246 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002296/0.8069, allocations: 237 kB / 1.247 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8069, allocations: 7.938 kB / 1.247 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002748/0.8072, allocations: 28.31 kB / 1.247 GB, free: 9.309 MB / 0.9825 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.000356/0.8075, allocations: 0.8363 MB / 1.247 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.8076, allocations: 25.94 kB / 1.247 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8076, allocations: 0 / 1.247 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.8076, allocations: 1.406 kB / 1.247 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.8083, allocations: 0.5191 MB / 1.248 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.8107, allocations: 2.507 MB / 1.25 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.811, allocations: 0.7465 MB / 1.251 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.014e-05/0.8111, allocations: 30.02 kB / 1.251 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.8111, allocations: 64.58 kB / 1.251 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.8111, allocations: 0 / 1.251 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.8305, allocations: 4.804 MB / 1.256 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/8.241, allocations: 2.062 kB / 1.256 GB, free: 0.75 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches