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.001321/0.001321, allocations: 108.6 kB / 15.73 MB, free: 76 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.001321/0.001321, allocations: 187.3 kB / 16.66 MB, free: 6.59 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.281/2.281, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.84 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2225, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1398/0.3623, allocations: 148 MB / 1.232 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00449/0.3668, allocations: 4.65 MB / 1.237 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3671, allocations: 12 kB / 1.237 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.3675, allocations: 162.8 kB / 1.237 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.3678, allocations: 87.44 kB / 1.237 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.368, allocations: 59.92 kB / 1.237 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.3683, allocations: 306.8 kB / 1.237 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.3686, allocations: 151.6 kB / 1.237 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3687, allocations: 111.6 kB / 1.237 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.3689, allocations: 147.4 kB / 1.238 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.369, allocations: 16 kB / 1.238 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.369, allocations: 16 kB / 1.238 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.3691, allocations: 71.81 kB / 1.238 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3692, allocations: 111.4 kB / 1.238 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3694, allocations: 239.1 kB / 1.238 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3695, allocations: 0 / 1.238 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3695, allocations: 0 / 1.238 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3695, allocations: 0 / 1.238 GB, free: 7.262 MB / 0.9981 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.0004286/0.3699, allocations: 496.8 kB / 1.238 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3699, allocations: 8.031 kB / 1.238 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.37, allocations: 58.73 kB / 1.239 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.37, allocations: 32.8 kB / 1.239 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3704, allocations: 271.9 kB / 1.239 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3704, allocations: 16.81 kB / 1.239 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3704, allocations: 20.38 kB / 1.239 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.3708, allocations: 308.8 kB / 1.239 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3708, allocations: 3.938 kB / 1.239 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.3709, allocations: 12 kB / 1.239 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3709, allocations: 11.98 kB / 1.239 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3711, allocations: 119.8 kB / 1.239 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3721, allocations: 1.97 MB / 1.241 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.3722, allocations: 173.1 kB / 1.241 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.3723, allocations: 84.14 kB / 1.241 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.3723, allocations: 79.28 kB / 1.242 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.3724, allocations: 109.8 kB / 1.242 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3724, allocations: 0 / 1.242 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.863e-05/0.3725, allocations: 53.45 kB / 1.242 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3725, allocations: 130.7 kB / 1.242 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.3728, allocations: 336.5 kB / 1.242 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.3728, allocations: 25.7 kB / 1.242 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.3729, allocations: 163.9 kB / 1.242 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.373, allocations: 0 / 1.242 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.373, allocations: 21.67 kB / 1.242 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.3731, allocations: 338.8 kB / 1.243 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.3731, allocations: 11.98 kB / 1.243 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3732, allocations: 58.81 kB / 1.243 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.3732, allocations: 78.67 kB / 1.243 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3732, allocations: 0 / 1.243 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001541/0.3734, allocations: 97.42 kB / 1.243 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3734, allocations: 8.25 kB / 1.243 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3734, allocations: 7.938 kB / 1.243 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3735, allocations: 4 kB / 1.243 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.3735, allocations: 19.92 kB / 1.243 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3735, allocations: 0 / 1.243 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.3736, allocations: 23.78 kB / 1.243 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3736, allocations: 4 kB / 1.243 GB, free: 1.785 MB / 0.9981 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.0001072/0.3737, allocations: 209.1 kB / 1.243 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.3738, allocations: 136.7 kB / 1.243 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.3739, allocations: 134 kB / 1.243 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/0.374, allocations: 180.2 kB / 1.244 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/0.374, allocations: 176.3 kB / 1.244 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.274e-05/0.3741, allocations: 180.2 kB / 1.244 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.3744, allocations: 477.1 kB / 1.244 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.398e-05/0.3745, allocations: 105 kB / 1.244 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.3745, allocations: 112.9 kB / 1.245 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.861e-05/0.3746, allocations: 180.3 kB / 1.245 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.3747, allocations: 184.2 kB / 1.245 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.167e-05/0.3747, allocations: 180.2 kB / 1.245 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001186/0.3748, allocations: 176.3 kB / 1.245 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.375, allocations: 335.6 kB / 1.246 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.3751, allocations: 210.1 kB / 1.246 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3753, allocations: 180.2 kB / 1.246 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3754, allocations: 105 kB / 1.246 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3755, allocations: 188.2 kB / 1.246 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3755, allocations: 105 kB / 1.246 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002184/0.3757, allocations: 239 kB / 1.247 GB, free: 13.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3758, allocations: 0 / 1.247 GB, free: 13.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002811/0.376, allocations: 24 kB / 1.247 GB, free: 13.82 MB / 1.014 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.0003476/0.3764, allocations: 0.8359 MB / 1.247 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.3765, allocations: 27.92 kB / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3765, allocations: 0 / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.3765, allocations: 0 / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.3772, allocations: 0.5242 MB / 1.248 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3796, allocations: 2.529 MB / 1.25 GB, free: 9.754 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3799, allocations: 0.744 MB / 1.251 GB, free: 8.984 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.075e-05/0.38, allocations: 30.28 kB / 1.251 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.3801, allocations: 63.41 kB / 1.251 GB, free: 8.895 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.3801, allocations: 0 / 1.251 GB, free: 8.895 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.3986, allocations: 4.802 MB / 1.256 GB, free: 4.242 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.755, allocations: 1.5 kB / 1.256 GB, free: 4.242 MB / 1.014 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